#B9CC40#B9CC40
#B9CC40 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.5% C 0.161 H 116.9°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CC40 |
|---|---|
| RGB | rgb(185, 204, 64) |
| HSL | hsl(68, 58%, 53%) |
| HSV | hsv(68, 69%, 80%) |
| CMYK | cmyk(9.3%, 0%, 68.6%, 20%) |
| CIE-LAB | lab(78.39, -24.41, 64.23) |
| CIE-LCH | lch(78.39, 68.72, 110.81°) |
| OKLab | oklab(80.53% -0.0729 0.1439) |
| OKLCH | oklch(80.53% 0.161 116.9) |
| XYZ | xyz(42.5268, 53.8707, 13.0073) |
| Luminance | 0.5387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.17
Baby Puke Green
#B6C406
ΔE00 3.83
Bile
#B5C306
ΔE00 3.91
Pea
#A4BF20
ΔE00 4.19
Gross Green
#A0BF16
ΔE00 4.73
Snot
#ACBB0D
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CC40 #5340CC
analogous
#CC9940 #B9CC40 #73CC40
triadic
#B9CC40 #40B9CC #CC40B9
tetradic
#B9CC40 #40CC99 #5340CC #CC4073
square
#B9CC40 #40CC99 #5340CC #CC4073
split-complementary
#B9CC40 #4073CC #9940CC
monochromatic
#67731F #93A32C #B9CC40 #CBD970 #DCE6A1
Accessibility & contrast
On white
1.78
#B9CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.77
#B9CC40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CC40
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CC40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CC40 | 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)
#DAC12A
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#C4C1B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b9cc40; /* rgb */ color: rgb(185, 204, 64); /* oklch */ color: oklch(80.5% 0.161 116.9);
Tailwind
colors: {
custom: {
50: '#d1db7d',
500: '#b9cc40',
950: '#000000',
},
}SCSS
$custom: #b9cc40; $custom-light: #d1db7d; $custom-dark: #000000;
JSON
{
"hex": "#b9cc40",
"rgb": {
"r": 185,
"g": 204,
"b": 64
},
"hsl": {
"h": 68.143,
"s": 57.851,
"l": 52.549
},
"oklch": {
"l": 0.8053,
"c": 0.16133,
"h": 116.9
},
"luminance": 0.5387
}Semantic roles & 50–950 ramp
primary
#B9CC40
secondary
#3E347C
accent
#47E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D