#B9CC3C#B9CC3C
#B9CC3C is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.5% C 0.164 H 116.8°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CC3C |
|---|---|
| RGB | rgb(185, 204, 60) |
| HSL | hsl(68, 59%, 52%) |
| HSV | hsv(68, 71%, 80%) |
| CMYK | cmyk(9.3%, 0%, 70.6%, 20%) |
| CIE-LAB | lab(78.36, -24.63, 65.67) |
| CIE-LCH | lch(78.36, 70.14, 110.56°) |
| OKLab | oklab(80.5% -0.0739 0.1463) |
| OKLCH | oklch(80.5% 0.164 116.8) |
| XYZ | xyz(42.4171, 53.8268, 12.4292) |
| Luminance | 0.5383 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.82
Baby Puke Green
#B6C406
ΔE00 3.52
Bile
#B5C306
ΔE00 3.61
Pea
#A4BF20
ΔE00 4.12
Gross Green
#A0BF16
ΔE00 4.65
Snot
#ACBB0D
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CC3C #4F3CCC
analogous
#CC973C #B9CC3C #71CC3C
triadic
#B9CC3C #3CB9CC #CC3CB9
tetradic
#B9CC3C #3CCC97 #4F3CCC #CC3C71
square
#B9CC3C #3CCC97 #4F3CCC #CC3C71
split-complementary
#B9CC3C #3C71CC #973CCC
monochromatic
#65701D #91A12A #B9CC3C #CAD96D #DCE59D
Accessibility & contrast
On white
1.78
#B9CC3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.77
#B9CC3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CC3C
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CC3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CC3C | 1.00 | 1.78 | 11.77 | 11.77 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC123
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#C4C1B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b9cc3c; /* rgb */ color: rgb(185, 204, 60); /* oklch */ color: oklch(80.5% 0.164 116.8);
Tailwind
colors: {
custom: {
50: '#d1db7b',
500: '#b9cc3c',
950: '#000000',
},
}SCSS
$custom: #b9cc3c; $custom-light: #d1db7b; $custom-dark: #000000;
JSON
{
"hex": "#b9cc3c",
"rgb": {
"r": 185,
"g": 204,
"b": 60
},
"hsl": {
"h": 67.917,
"s": 58.537,
"l": 51.765
},
"oklch": {
"l": 0.80501,
"c": 0.1639,
"h": 116.8
},
"luminance": 0.53826
}Semantic roles & 50–950 ramp
primary
#B9CC3C
secondary
#3C3379
accent
#46E25B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D