#B9CD42#B9CD42
#B9CD42 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.8% C 0.161 H 117.2°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CD42 |
|---|---|
| RGB | rgb(185, 205, 66) |
| HSL | hsl(69, 58%, 53%) |
| HSV | hsv(69, 68%, 80%) |
| CMYK | cmyk(9.8%, 0%, 67.8%, 19.6%) |
| CIE-LAB | lab(78.68, -24.78, 63.77) |
| CIE-LCH | lch(78.68, 68.42, 111.24°) |
| OKLab | oklab(80.77% -0.0737 0.1433) |
| OKLCH | oklch(80.77% 0.161 117.2) |
| XYZ | xyz(42.8232, 54.3708, 13.3919) |
| Luminance | 0.5437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.28
Baby Puke Green
#B6C406
ΔE00 4.14
Bile
#B5C306
ΔE00 4.22
Pea
#A4BF20
ΔE00 4.35
Gross Green
#A0BF16
ΔE00 4.86
Snot Green
#9DC100
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CD42 #5642CD
analogous
#CD9B42 #B9CD42 #73CD42
triadic
#B9CD42 #42B9CD #CD42B9
tetradic
#B9CD42 #42CD9B #5642CD #CD4273
square
#B9CD42 #42CD9B #5642CD #CD4273
split-complementary
#B9CD42 #4273CD #9B42CD
monochromatic
#69761F #94A62C #B9CD42 #CBDA72 #DDE7A3
Accessibility & contrast
On white
1.77
#B9CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#B9CD42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CD42
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CD42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CD42 | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC22D
Deuteranopia (green-blind)
#D9C44D
Tritanopia (blue-blind)
#C4C2B1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b9cd42; /* rgb */ color: rgb(185, 205, 66); /* oklch */ color: oklch(80.8% 0.161 117.2);
Tailwind
colors: {
custom: {
50: '#d1dc7e',
500: '#b9cd42',
950: '#000000',
},
}SCSS
$custom: #b9cd42; $custom-light: #d1dc7e; $custom-dark: #000000;
JSON
{
"hex": "#b9cd42",
"rgb": {
"r": 185,
"g": 205,
"b": 66
},
"hsl": {
"h": 68.633,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.80768,
"c": 0.16112,
"h": 117.2
},
"luminance": 0.5437
}Semantic roles & 50–950 ramp
primary
#B9CD42
secondary
#40357E
accent
#46E15D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D