#B9CB3B#B9CB3B
#B9CB3B is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.3% C 0.163 H 116.4°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CB3B |
|---|---|
| RGB | rgb(185, 203, 59) |
| HSL | hsl(68, 58%, 51%) |
| HSV | hsv(68, 71%, 80%) |
| CMYK | cmyk(8.9%, 0%, 70.9%, 20.4%) |
| CIE-LAB | lab(78.08, -24.20, 65.75) |
| CIE-LCH | lch(78.08, 70.06, 110.21°) |
| OKLab | oklab(80.27% -0.0727 0.1463) |
| OKLCH | oklch(80.27% 0.163 116.4) |
| XYZ | xyz(42.1540, 53.3425, 12.2123) |
| Luminance | 0.5334 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.85
Baby Puke Green
#B6C406
ΔE00 3.29
Bile
#B5C306
ΔE00 3.38
Pea
#A4BF20
ΔE00 4.01
Snot
#ACBB0D
ΔE00 4.54
Gross Green
#A0BF16
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CB3B #4D3BCB
analogous
#CB953B #B9CB3B #71CB3B
triadic
#B9CB3B #3BB9CB #CB3BB9
tetradic
#B9CB3B #3BCB95 #4D3BCB #CB3B71
square
#B9CB3B #3BCB95 #4D3BCB #CB3B71
split-complementary
#B9CB3B #3B71CB #953BCB
monochromatic
#646E1D #909F2A #B9CB3B #CAD86B #DCE59C
Accessibility & contrast
On white
1.80
#B9CB3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.67
#B9CB3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CB3B
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CB3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CB3B | 1.00 | 1.80 | 11.67 | 11.67 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C021
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#C5C0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b9cb3b; /* rgb */ color: rgb(185, 203, 59); /* oklch */ color: oklch(80.3% 0.163 116.4);
Tailwind
colors: {
custom: {
50: '#d1da7a',
500: '#b9cb3b',
950: '#000000',
},
}SCSS
$custom: #b9cb3b; $custom-light: #d1da7a; $custom-dark: #000000;
JSON
{
"hex": "#b9cb3b",
"rgb": {
"r": 185,
"g": 203,
"b": 59
},
"hsl": {
"h": 67.5,
"s": 58.065,
"l": 51.373
},
"oklch": {
"l": 0.80271,
"c": 0.1634,
"h": 116.4
},
"luminance": 0.53342
}Semantic roles & 50–950 ramp
primary
#B9CB3B
secondary
#3B3378
accent
#47E15A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D