#B9BE21#B9BE21

#B9BE21 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.163 H 111.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#B9BE21
RGBrgb(185, 190, 33)
HSLhsl(62, 70%, 44%)
HSVhsv(62, 83%, 75%)
CMYKcmyk(2.6%, 0%, 82.6%, 25.5%)
CIE-LABlab(74.35, -18.86, 70.23)
CIE-LCHlch(74.35, 72.72, 105.03°)
OKLaboklab(77.24% -0.06 0.1514)
OKLCHoklch(77.24% 0.163 111.6)
XYZxyz(38.6970, 47.2520, 8.5207)
Luminance0.4725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BE21 #2621BE
analogous
#BE7421 #B9BE21 #6ABE21
triadic
#B9BE21 #21B9BE #BE21B9
tetradic
#B9BE21 #21BE74 #2621BE #BE216A
square
#B9BE21 #21BE74 #2621BE #BE216A
split-complementary
#B9BE21 #216ABE #7421BE
monochromatic
#53560F #868A18 #B9BE21 #D9DE3F #E3E773

Accessibility & contrast

On white

2.01
#B9BE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#B9BE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BE21
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BE21#FFFFFF#000000##000000
##B9BE211.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CEB931
Tritanopia (blue-blind)
#C6B2A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b9be21;
/* rgb */ color: rgb(185, 190, 33);
/* oklch */ color: oklch(77.2% 0.163 111.6);
Tailwind
colors: {
  custom: {
    50: '#d2d16d',
    500: '#b9be21',
    950: '#000000',
  },
}
SCSS
$custom: #b9be21;
$custom-light: #d2d16d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9be21",
  "rgb": {
    "r": 185,
    "g": 190,
    "b": 33
  },
  "hsl": {
    "h": 61.911,
    "s": 70.404,
    "l": 43.725
  },
  "oklch": {
    "l": 0.77243,
    "c": 0.16282,
    "h": 111.6
  },
  "luminance": 0.47251
}

Semantic roles & 50–950 ramp

primary
#B9BE21
secondary
#706DCD
accent
#3BED40
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B9BE21

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B9BE21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva