#B9CC2B#B9CC2B
#B9CC2B is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.173 H 116.6°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CC2B |
|---|---|
| RGB | rgb(185, 204, 43) |
| HSL | hsl(67, 65%, 48%) |
| HSV | hsv(67, 79%, 80%) |
| CMYK | cmyk(9.3%, 0%, 78.9%, 20%) |
| CIE-LAB | lab(78.27, -25.39, 71.02) |
| CIE-LCH | lch(78.27, 75.43, 109.67°) |
| OKLab | oklab(80.4% -0.0773 0.1548) |
| OKLCH | oklch(80.4% 0.173 116.6) |
| XYZ | xyz(42.0376, 53.6750, 10.4308) |
| Luminance | 0.5367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.66
Baby Puke Green
#B6C406
ΔE00 2.55
Bile
#B5C306
ΔE00 2.71
Pea
#A4BF20
ΔE00 4.16
Snot
#ACBB0D
ΔE00 4.38
Gross Green
#A0BF16
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CC2B #3E2BCC
analogous
#CC8E2B #B9CC2B #68CC2B
triadic
#B9CC2B #2BB9CC #CC2BB9
tetradic
#B9CC2B #2BCC8E #3E2BCC #CC2B68
square
#B9CC2B #2BCC8E #3E2BCC #CC2B68
split-complementary
#B9CC2B #2B68CC #8E2BCC
monochromatic
#5D6716 #8B9920 #B9CC2B #CCDC58 #DCE78B
Accessibility & contrast
On white
1.79
#B9CC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#B9CC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CC2B
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CC2B | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D9C33B
Tritanopia (blue-blind)
#C5C0AF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b9cc2b; /* rgb */ color: rgb(185, 204, 43); /* oklch */ color: oklch(80.4% 0.173 116.6);
Tailwind
colors: {
custom: {
50: '#d2db73',
500: '#b9cc2b',
950: '#000000',
},
}SCSS
$custom: #b9cc2b; $custom-light: #d2db73; $custom-dark: #000000;
JSON
{
"hex": "#b9cc2b",
"rgb": {
"r": 185,
"g": 204,
"b": 43
},
"hsl": {
"h": 67.081,
"s": 65.182,
"l": 48.431
},
"oklch": {
"l": 0.80402,
"c": 0.17301,
"h": 116.6
},
"luminance": 0.53674
}Semantic roles & 50–950 ramp
primary
#B9CC2B
secondary
#332A71
accent
#40E854
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151509
muted
#84847D