#B9CB39#B9CB39
#B9CB39 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.3% C 0.165 H 116.4°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CB39 |
|---|---|
| RGB | rgb(185, 203, 57) |
| HSL | hsl(67, 58%, 51%) |
| HSV | hsv(67, 72%, 80%) |
| CMYK | cmyk(8.9%, 0%, 71.9%, 20.4%) |
| CIE-LAB | lab(78.06, -24.30, 66.44) |
| CIE-LCH | lch(78.06, 70.75, 110.09°) |
| OKLab | oklab(80.26% -0.0732 0.1474) |
| OKLCH | oklch(80.26% 0.165 116.4) |
| XYZ | xyz(42.1031, 53.3221, 11.9443) |
| Luminance | 0.5332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.69
Baby Puke Green
#B6C406
ΔE00 3.14
Bile
#B5C306
ΔE00 3.24
Pea
#A4BF20
ΔE00 3.99
Snot
#ACBB0D
ΔE00 4.46
Gross Green
#A0BF16
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CB39 #4B39CB
analogous
#CB9439 #B9CB39 #70CB39
triadic
#B9CB39 #39B9CB #CB39B9
tetradic
#B9CB39 #39CB94 #4B39CB #CB3970
square
#B9CB39 #39CB94 #4B39CB #CB3970
split-complementary
#B9CB39 #3970CB #9439CB
monochromatic
#636D1D #8F9D29 #B9CB39 #CAD869 #DBE49A
Accessibility & contrast
On white
1.80
#B9CB39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#B9CB39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CB39
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CB39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CB39 | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C01D
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#C5BFAF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b9cb39; /* rgb */ color: rgb(185, 203, 57); /* oklch */ color: oklch(80.3% 0.165 116.4);
Tailwind
colors: {
custom: {
50: '#d2da79',
500: '#b9cb39',
950: '#000000',
},
}SCSS
$custom: #b9cb39; $custom-light: #d2da79; $custom-dark: #000000;
JSON
{
"hex": "#b9cb39",
"rgb": {
"r": 185,
"g": 203,
"b": 57
},
"hsl": {
"h": 67.397,
"s": 58.4,
"l": 50.98
},
"oklch": {
"l": 0.80258,
"c": 0.16461,
"h": 116.4
},
"luminance": 0.53322
}Semantic roles & 50–950 ramp
primary
#B9CB39
secondary
#3A3276
accent
#46E259
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D