#B7BE21

A color in the Yellow, Gold family

#b7be21 is a color in the Yellow, Gold family: RGB(183, 190, 33), HSL(63°, 70%, 44%), CMYK(4%, 0%, 83%, 25%). Closest named color: yellowgreen. Contrast is 2.02:1 on white and 10.4:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b7be21
RGBrgb(183 190 33)
RGB (legacy)rgb(183, 190, 33)
RGB %rgb(72% 75% 13%)
HSLhsl(63 70% 44%)
HSV / HSBhsv(63, 83%, 75%)
HWBhwb(63 13% 25%)
CMYKcmyk(4%, 0%, 83%, 25%)
CIELAB (D50)lab(74.53 -15.18 69.3)
LCHlch(74.53 70.94 102.36)
OKLaboklab(0.7708 -0.0623 0.151)
OKLCHoklch(0.7708 0.1634 112.42)
Decimal12041761

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 5
Closest web-safe color#cccc33
Hue63°
Saturation (HSL / HSV)70% / 83%
Lightness (HSL)44%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)67% / 69%
Relative luminance (WCAG)0.47
Red / Green / Blue183 / 190 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.02:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.40:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 39 / -63.3 · As background with white / black text: Lc -43.5 / 64.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #b7be21;
  --color-brand-oklch: oklch(77.08% 0.1634 112.42);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(183 190 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b7be21] text-[#b7be21] border-[#b7be21]">