#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 |
|---|---|
| RGB | rgb(185, 204, 50) |
| HSL | hsl(67, 61%, 50%) |
| HSV | hsv(67, 75%, 80%) |
| CMYK | cmyk(9.3%, 0%, 75.5%, 20%) |
| CIE-LAB | lab(78.30, -25.11, 68.98) |
| CIE-LCH | lch(78.30, 73.41, 110.00°) |
| OKLab | oklab(80.44% -0.076 0.1516) |
| OKLCH | oklch(80.44% 0.17 116.6) |
| XYZ | xyz(42.1773, 53.7309, 11.1662) |
| Luminance | 0.5373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.06
Baby Puke Green
#B6C406
ΔE00 2.88
Bile
#B5C306
ΔE00 3.01
Pea
#A4BF20
ΔE00 4.09
Snot
#ACBB0D
ΔE00 4.49
Gross Green
#A0BF16
ΔE00 4.58
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 |
|---|---|---|---|---|
| ##B9CC32 | 1.00 | 1.79 | 11.75 | 11.75 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.75 | 21.00 | 1.00 | 1.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