#B9CC32#B9CC32

#B9CC32 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.170 H 116.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#B9CC32
RGBrgb(185, 204, 50)
HSLhsl(67, 61%, 50%)
HSVhsv(67, 75%, 80%)
CMYKcmyk(9.3%, 0%, 75.5%, 20%)
CIE-LABlab(78.30, -25.11, 68.98)
CIE-LCHlch(78.30, 73.41, 110.00°)
OKLaboklab(80.44% -0.076 0.1516)
OKLCHoklch(80.44% 0.17 116.6)
XYZxyz(42.1773, 53.7309, 11.1662)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC32 #4532CC
analogous
#CC9232 #B9CC32 #6CCC32
triadic
#B9CC32 #32B9CC #CC32B9
tetradic
#B9CC32 #32CC92 #4532CC #CC326C
square
#B9CC32 #32CC92 #4532CC #CC326C
split-complementary
#B9CC32 #326CCC #9232CC
monochromatic
#606A1A #8C9B26 #B9CC32 #CAD963 #DBE594

Accessibility & contrast

On white

1.79
#B9CC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#B9CC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC32
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC32#FFFFFF#000000##000000
##B9CC321.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC109
Deuteranopia (green-blind)
#D9C340
Tritanopia (blue-blind)
#C5C0AF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc32;
/* rgb */ color: rgb(185, 204, 50);
/* oklch */ color: oklch(80.4% 0.170 116.6);
Tailwind
colors: {
  custom: {
    50: '#d2db76',
    500: '#b9cc32',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc32;
$custom-light: #d2db76;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc32",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 50
  },
  "hsl": {
    "h": 67.403,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80438,
    "c": 0.16961,
    "h": 116.6
  },
  "luminance": 0.5373
}

Semantic roles & 50–950 ramp

primary
#B9CC32
secondary
#372F74
accent
#44E458
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9CC32

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

Preview Lab → · Contrast checker → · Palette generator →

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