#B9CA42#B9CA42
#B9CA42 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.1% C 0.158 H 116.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CA42 |
|---|---|
| RGB | rgb(185, 202, 66) |
| HSL | hsl(68, 56%, 53%) |
| HSV | hsv(68, 67%, 79%) |
| CMYK | cmyk(8.4%, 0%, 67.3%, 20.8%) |
| CIE-LAB | lab(77.85, -23.33, 62.93) |
| CIE-LCH | lch(77.85, 67.11, 110.34°) |
| OKLab | oklab(80.1% -0.0697 0.1415) |
| OKLCH | oklch(80.1% 0.158 116.2) |
| XYZ | xyz(42.1125, 52.9493, 13.1550) |
| Luminance | 0.5295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.58
Baby Puke Green
#B6C406
ΔE00 3.75
Bile
#B5C306
ΔE00 3.80
Pea
#A4BF20
ΔE00 4.08
Snot
#ACBB0D
ΔE00 4.68
Gross Green
#A0BF16
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CA42 #5342CA
analogous
#CA9742 #B9CA42 #75CA42
triadic
#B9CA42 #42B9CA #CA42B9
tetradic
#B9CA42 #42CA97 #5342CA #CA4275
square
#B9CA42 #42CA97 #5342CA #CA4275
split-complementary
#B9CA42 #4275CA #9742CA
monochromatic
#677220 #93A22D #B9CA42 #CBD772 #DCE5A2
Accessibility & contrast
On white
1.81
#B9CA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#B9CA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CA42
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CA42 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C02E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#C4BFAF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b9ca42; /* rgb */ color: rgb(185, 202, 66); /* oklch */ color: oklch(80.1% 0.158 116.2);
Tailwind
colors: {
custom: {
50: '#d1da7e',
500: '#b9ca42',
950: '#000000',
},
}SCSS
$custom: #b9ca42; $custom-light: #d1da7e; $custom-dark: #000000;
JSON
{
"hex": "#b9ca42",
"rgb": {
"r": 185,
"g": 202,
"b": 66
},
"hsl": {
"h": 67.5,
"s": 56.198,
"l": 52.549
},
"oklch": {
"l": 0.801,
"c": 0.15771,
"h": 116.2
},
"luminance": 0.52949
}Semantic roles & 50–950 ramp
primary
#B9CA42
secondary
#3E357B
accent
#48DF5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D