#B9CB48#B9CB48
#B9CB48 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.4% C 0.155 H 116.7°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CB48 |
|---|---|
| RGB | rgb(185, 203, 72) |
| HSL | hsl(68, 56%, 54%) |
| HSV | hsv(68, 65%, 80%) |
| CMYK | cmyk(8.9%, 0%, 64.5%, 20.4%) |
| CIE-LAB | lab(78.17, -23.44, 60.90) |
| CIE-LCH | lch(78.17, 65.25, 111.05°) |
| OKLab | oklab(80.37% -0.0694 0.1381) |
| OKLCH | oklch(80.37% 0.155 116.7) |
| XYZ | xyz(42.5341, 53.4946, 14.2144) |
| Luminance | 0.5349 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.04
Pea
#A4BF20
ΔE00 4.38
Baby Puke Green
#B6C406
ΔE00 4.42
Bile
#B5C306
ΔE00 4.47
Gross Green
#A0BF16
ΔE00 4.96
Snot
#ACBB0D
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CB48 #5A48CB
analogous
#CB9C48 #B9CB48 #78CB48
triadic
#B9CB48 #48B9CB #CB48B9
tetradic
#B9CB48 #48CB9C #5A48CB #CB4878
square
#B9CB48 #48CB9C #5A48CB #CB4878
split-complementary
#B9CB48 #4878CB #9C48CB
monochromatic
#6B7722 #96A62F #B9CB48 #CBD978 #DDE6A7
Accessibility & contrast
On white
1.80
#B9CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#B9CB48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CB48
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CB48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CB48 | 1.00 | 1.80 | 11.70 | 11.70 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C137
Deuteranopia (green-blind)
#D7C251
Tritanopia (blue-blind)
#C4C0B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b9cb48; /* rgb */ color: rgb(185, 203, 72); /* oklch */ color: oklch(80.4% 0.155 116.7);
Tailwind
colors: {
custom: {
50: '#d1da81',
500: '#b9cb48',
950: '#000000',
},
}SCSS
$custom: #b9cb48; $custom-light: #d1da81; $custom-dark: #000000;
JSON
{
"hex": "#b9cb48",
"rgb": {
"r": 185,
"g": 203,
"b": 72
},
"hsl": {
"h": 68.244,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.80371,
"c": 0.15457,
"h": 116.7
},
"luminance": 0.53494
}Semantic roles & 50–950 ramp
primary
#B9CB48
secondary
#42387F
accent
#49DF5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E