#B9CD39#B9CD39
#B9CD39 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 80.7% C 0.167 H 117.1°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CD39 |
|---|---|
| RGB | rgb(185, 205, 57) |
| HSL | hsl(68, 60%, 51%) |
| HSV | hsv(68, 72%, 80%) |
| CMYK | cmyk(9.8%, 0%, 72.2%, 19.6%) |
| CIE-LAB | lab(78.62, -25.27, 66.98) |
| CIE-LCH | lch(78.62, 71.58, 110.67°) |
| OKLab | oklab(80.7% -0.0759 0.1486) |
| OKLCH | oklch(80.7% 0.167 117.1) |
| XYZ | xyz(42.5784, 54.2729, 12.1028) |
| Luminance | 0.5427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.48
Baby Puke Green
#B6C406
ΔE00 3.48
Bile
#B5C306
ΔE00 3.60
Pea
#A4BF20
ΔE00 4.21
Gross Green
#A0BF16
ΔE00 4.69
Snot
#ACBB0D
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CD39 #4D39CD
analogous
#CD9739 #B9CD39 #6FCD39
triadic
#B9CD39 #39B9CD #CD39B9
tetradic
#B9CD39 #39CD97 #4D39CD #CD396F
square
#B9CD39 #39CD97 #4D39CD #CD396F
split-complementary
#B9CD39 #396FCD #9739CD
monochromatic
#646F1C #90A028 #B9CD39 #CAD96A #DCE69B
Accessibility & contrast
On white
1.77
#B9CD39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#B9CD39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CD39
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CD39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CD39 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC21C
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#C4C1B0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b9cd39; /* rgb */ color: rgb(185, 205, 57); /* oklch */ color: oklch(80.7% 0.167 117.1);
Tailwind
colors: {
custom: {
50: '#d2dc7a',
500: '#b9cd39',
950: '#000000',
},
}SCSS
$custom: #b9cd39; $custom-light: #d2dc7a; $custom-dark: #000000;
JSON
{
"hex": "#b9cd39",
"rgb": {
"r": 185,
"g": 205,
"b": 57
},
"hsl": {
"h": 68.108,
"s": 59.677,
"l": 51.373
},
"oklch": {
"l": 0.80704,
"c": 0.16682,
"h": 117.1
},
"luminance": 0.54272
}Semantic roles & 50–950 ramp
primary
#B9CD39
secondary
#3B3279
accent
#45E35A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D