#B9CC45#B9CC45
#B9CC45 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.6% C 0.158 H 117.0°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B9CC45 |
|---|---|
| RGB | rgb(185, 204, 69) |
| HSL | hsl(68, 57%, 54%) |
| HSV | hsv(68, 66%, 80%) |
| CMYK | cmyk(9.3%, 0%, 66.2%, 20%) |
| CIE-LAB | lab(78.42, -24.12, 62.36) |
| CIE-LCH | lch(78.42, 66.86, 111.15°) |
| OKLab | oklab(80.57% -0.0716 0.1407) |
| OKLCH | oklch(80.57% 0.158 117) |
| XYZ | xyz(42.6755, 53.9302, 13.7905) |
| Luminance | 0.5393 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.64
Baby Puke Green
#B6C406
ΔE00 4.25
Bile
#B5C306
ΔE00 4.32
Pea
#A4BF20
ΔE00 4.34
Gross Green
#A0BF16
ΔE00 4.89
Snot
#ACBB0D
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9CC45 #5845CC
analogous
#CC9B45 #B9CC45 #75CC45
triadic
#B9CC45 #45B9CC #CC45B9
tetradic
#B9CC45 #45CC9B #5845CC #CC4575
square
#B9CC45 #45CC9B #5845CC #CC4575
split-complementary
#B9CC45 #4575CC #9B45CC
monochromatic
#6A7620 #95A62E #B9CC45 #CBD975 #DDE6A5
Accessibility & contrast
On white
1.78
#B9CC45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#B9CC45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9CC45
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9CC45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9CC45 | 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)
#D9C132
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#C4C1B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b9cc45; /* rgb */ color: rgb(185, 204, 69); /* oklch */ color: oklch(80.6% 0.158 117.0);
Tailwind
colors: {
custom: {
50: '#d1db80',
500: '#b9cc45',
950: '#000000',
},
}SCSS
$custom: #b9cc45; $custom-light: #d1db80; $custom-dark: #000000;
JSON
{
"hex": "#b9cc45",
"rgb": {
"r": 185,
"g": 204,
"b": 69
},
"hsl": {
"h": 68.444,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.80569,
"c": 0.1579,
"h": 117
},
"luminance": 0.5393
}Semantic roles & 50–950 ramp
primary
#B9CC45
secondary
#41367F
accent
#48E05D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E