#B9CC48#B9CC48
#B9CC48 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.6% C 0.156 H 117.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CC48 |
|---|---|
| RGB | rgb(185, 204, 72) |
| HSL | hsl(69, 56%, 54%) |
| HSV | hsv(69, 65%, 80%) |
| CMYK | cmyk(9.3%, 0%, 64.7%, 20%) |
| CIE-LAB | lab(78.44, -23.93, 61.19) |
| CIE-LCH | lch(78.44, 65.70, 111.36°) |
| OKLab | oklab(80.59% -0.0708 0.1387) |
| OKLCH | oklch(80.59% 0.156 117) |
| XYZ | xyz(42.7710, 53.9684, 14.2934) |
| Luminance | 0.5397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.95
Pea
#A4BF20
ΔE00 4.46
Baby Puke Green
#B6C406
ΔE00 4.53
Bile
#B5C306
ΔE00 4.59
Gross Green
#A0BF16
ΔE00 5.01
Snot
#ACBB0D
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CC48 #5B48CC
analogous
#CC9D48 #B9CC48 #77CC48
triadic
#B9CC48 #48B9CC #CC48B9
tetradic
#B9CC48 #48CC9D #5B48CC #CC4877
square
#B9CC48 #48CC9D #5B48CC #CC4877
split-complementary
#B9CC48 #4877CC #9D48CC
monochromatic
#6C7821 #97A82F #B9CC48 #CBD978 #DEE7A8
Accessibility & contrast
On white
1.78
#B9CC48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#B9CC48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CC48
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CC48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CC48 | 1.00 | 1.78 | 11.79 | 11.79 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C236
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#C4C1B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b9cc48; /* rgb */ color: rgb(185, 204, 72); /* oklch */ color: oklch(80.6% 0.156 117.0);
Tailwind
colors: {
custom: {
50: '#d1db81',
500: '#b9cc48',
950: '#000000',
},
}SCSS
$custom: #b9cc48; $custom-light: #d1db81; $custom-dark: #000000;
JSON
{
"hex": "#b9cc48",
"rgb": {
"r": 185,
"g": 204,
"b": 72
},
"hsl": {
"h": 68.636,
"s": 56.41,
"l": 54.118
},
"oklch": {
"l": 0.80594,
"c": 0.15573,
"h": 117
},
"luminance": 0.53968
}Semantic roles & 50–950 ramp
primary
#B9CC48
secondary
#423880
accent
#48E05E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E