#B9C54E#B9C54E
#B9C54E is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.1% C 0.143 H 114.6°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C54E |
|---|---|
| RGB | rgb(185, 197, 78) |
| HSL | hsl(66, 51%, 54%) |
| HSV | hsv(66, 60%, 77%) |
| CMYK | cmyk(6.1%, 0%, 60.4%, 22.7%) |
| CIE-LAB | lab(76.56, -20.09, 56.67) |
| CIE-LCH | lch(76.56, 60.13, 109.52°) |
| OKLab | oklab(79.1% -0.0594 0.13) |
| OKLCH | oklch(79.1% 0.143 114.6) |
| XYZ | xyz(41.3499, 50.7975, 14.8329) |
| Luminance | 0.5080 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 4.69
Bile
#B5C306
ΔE00 4.82
Baby Puke Green
#B6C406
ΔE00 4.85
Snot
#ACBB0D
ΔE00 4.97
Sick Green
#9DB92C
ΔE00 5.39
Gross Green
#A0BF16
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C54E #5A4EC5
analogous
#C5964E #B9C54E #7EC54E
triadic
#B9C54E #4EB9C5 #C54EB9
tetradic
#B9C54E #4EC596 #5A4EC5 #C54E7E
square
#B9C54E #4EC596 #5A4EC5 #C54E7E
split-complementary
#B9C54E #4E7EC5 #964EC5
monochromatic
#6B7326 #96A135 #B9C54E #CBD47C #DDE3AA
Accessibility & contrast
On white
1.88
#B9C54E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.16
#B9C54E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C54E
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C54E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C54E | 1.00 | 1.88 | 11.16 | 11.16 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC40
Deuteranopia (green-blind)
#D2BE56
Tritanopia (blue-blind)
#C4BAAC
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b9c54e; /* rgb */ color: rgb(185, 197, 78); /* oklch */ color: oklch(79.1% 0.143 114.6);
Tailwind
colors: {
custom: {
50: '#d1d684',
500: '#b9c54e',
950: '#000000',
},
}SCSS
$custom: #b9c54e; $custom-light: #d1d684; $custom-dark: #000000;
JSON
{
"hex": "#b9c54e",
"rgb": {
"r": 185,
"g": 197,
"b": 78
},
"hsl": {
"h": 66.05,
"s": 50.638,
"l": 53.922
},
"oklch": {
"l": 0.79097,
"c": 0.14293,
"h": 114.6
},
"luminance": 0.50797
}Semantic roles & 50–950 ramp
primary
#B9C54E
secondary
#423B7C
accent
#4EDA5C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E