#B9C933#B9C933

#B9C933 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.8% C 0.166 H 115.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#B9C933
RGBrgb(185, 201, 51)
HSLhsl(66, 60%, 49%)
HSVhsv(66, 75%, 79%)
CMYKcmyk(8%, 0%, 74.6%, 21.2%)
CIE-LABlab(77.48, -23.62, 67.89)
CIE-LCHlch(77.48, 71.88, 109.18°)
OKLaboklab(79.77% -0.0718 0.1495)
OKLCHoklch(79.77% 0.166 115.7)
XYZxyz(41.4929, 52.3273, 11.0457)
Luminance0.5233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C933 #4333C9
analogous
#C98E33 #B9C933 #6EC933
triadic
#B9C933 #33B9C9 #C933B9
tetradic
#B9C933 #33C98E #4333C9 #C9336E
square
#B9C933 #33C98E #4333C9 #C9336E
split-complementary
#B9C933 #336EC9 #8E33C9
monochromatic
#5F671A #8C9827 #B9C933 #CBD762 #DBE493

Accessibility & contrast

On white

1.83
#B9C933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#B9C933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C933
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C933#FFFFFF#000000##000000
##B9C9331.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF0F
Deuteranopia (green-blind)
#D6C140
Tritanopia (blue-blind)
#C5BDAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c933;
/* rgb */ color: rgb(185, 201, 51);
/* oklch */ color: oklch(79.8% 0.166 115.7);
Tailwind
colors: {
  custom: {
    50: '#d2d976',
    500: '#b9c933',
    950: '#000000',
  },
}
SCSS
$custom: #b9c933;
$custom-light: #d2d976;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c933",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 51
  },
  "hsl": {
    "h": 66.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79774,
    "c": 0.16583,
    "h": 115.7
  },
  "luminance": 0.52327
}

Semantic roles & 50–950 ramp

primary
#B9C933
secondary
#362F71
accent
#45E356
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C933

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

Preview Lab → · Contrast checker → · Palette generator →

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