#B9CE42#B9CE42
#B9CE42 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.0% C 0.162 H 117.6°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CE42 |
|---|---|
| RGB | rgb(185, 206, 66) |
| HSL | hsl(69, 59%, 53%) |
| HSV | hsv(69, 68%, 81%) |
| CMYK | cmyk(10.2%, 0%, 68%, 19.2%) |
| CIE-LAB | lab(78.96, -25.26, 64.06) |
| CIE-LCH | lch(78.96, 68.86, 111.53°) |
| OKLab | oklab(80.99% -0.0751 0.1439) |
| OKLCH | oklch(80.99% 0.162 117.6) |
| XYZ | xyz(43.0632, 54.8507, 13.4719) |
| Luminance | 0.5485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.22
Baby Puke Green
#B6C406
ΔE00 4.29
Bile
#B5C306
ΔE00 4.39
Pea
#A4BF20
ΔE00 4.48
Gross Green
#A0BF16
ΔE00 4.95
Snot Green
#9DC100
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CE42 #5742CE
analogous
#CE9D42 #B9CE42 #73CE42
triadic
#B9CE42 #42B9CE #CE42B9
tetradic
#B9CE42 #42CE9D #5742CE #CE4273
square
#B9CE42 #42CE9D #5742CE #CE4273
split-complementary
#B9CE42 #4273CE #9D42CE
monochromatic
#6A771F #95A72B #B9CE42 #CBDB73 #DDE7A3
Accessibility & contrast
On white
1.75
#B9CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.97
#B9CE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CE42
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CE42 | 1.00 | 1.75 | 11.97 | 11.97 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC32D
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#C4C3B2
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b9ce42; /* rgb */ color: rgb(185, 206, 66); /* oklch */ color: oklch(81.0% 0.162 117.6);
Tailwind
colors: {
custom: {
50: '#d1dc7e',
500: '#b9ce42',
950: '#000000',
},
}SCSS
$custom: #b9ce42; $custom-light: #d1dc7e; $custom-dark: #000000;
JSON
{
"hex": "#b9ce42",
"rgb": {
"r": 185,
"g": 206,
"b": 66
},
"hsl": {
"h": 69,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.80991,
"c": 0.16227,
"h": 117.6
},
"luminance": 0.5485
}Semantic roles & 50–950 ramp
primary
#B9CE42
secondary
#40357F
accent
#46E25D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D