#B9CB38#B9CB38
#B9CB38 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 | #B9CB38 |
|---|---|
| RGB | rgb(185, 203, 56) |
| HSL | hsl(67, 59%, 51%) |
| HSV | hsv(67, 72%, 80%) |
| CMYK | cmyk(8.9%, 0%, 72.4%, 20.4%) |
| CIE-LAB | lab(78.06, -24.35, 66.78) |
| CIE-LCH | lch(78.06, 71.08, 110.04°) |
| OKLab | oklab(80.25% -0.0734 0.148) |
| OKLCH | oklch(80.25% 0.165 116.4) |
| XYZ | xyz(42.0784, 53.3123, 11.8142) |
| Luminance | 0.5331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.61
Baby Puke Green
#B6C406
ΔE00 3.07
Bile
#B5C306
ΔE00 3.17
Pea
#A4BF20
ΔE00 3.99
Snot
#ACBB0D
ΔE00 4.43
Gross Green
#A0BF16
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CB38 #4A38CB
analogous
#CB9338 #B9CB38 #6FCB38
triadic
#B9CB38 #38B9CB #CB38B9
tetradic
#B9CB38 #38CB93 #4A38CB #CB386F
square
#B9CB38 #38CB93 #4A38CB #CB386F
split-complementary
#B9CB38 #386FCB #9338CB
monochromatic
#636C1C #8F9D29 #B9CB38 #CAD869 #DBE499
Accessibility & contrast
On white
1.80
#B9CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#B9CB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CB38
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CB38 | 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)
#D9C01B
Deuteranopia (green-blind)
#D8C244
Tritanopia (blue-blind)
#C5BFAF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b9cb38; /* rgb */ color: rgb(185, 203, 56); /* oklch */ color: oklch(80.3% 0.165 116.4);
Tailwind
colors: {
custom: {
50: '#d2da79',
500: '#b9cb38',
950: '#000000',
},
}SCSS
$custom: #b9cb38; $custom-light: #d2da79; $custom-dark: #000000;
JSON
{
"hex": "#b9cb38",
"rgb": {
"r": 185,
"g": 203,
"b": 56
},
"hsl": {
"h": 67.347,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.80251,
"c": 0.1652,
"h": 116.4
},
"luminance": 0.53312
}Semantic roles & 50–950 ramp
primary
#B9CB38
secondary
#3A3176
accent
#46E259
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D