#B9C91A#B9C91A
#B9C91A is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.7% C 0.176 H 115.5°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C91A |
|---|---|
| RGB | rgb(185, 201, 26) |
| HSL | hsl(65, 77%, 45%) |
| HSV | hsv(65, 87%, 79%) |
| CMYK | cmyk(8%, 0%, 87.1%, 21.2%) |
| CIE-LAB | lab(77.38, -24.45, 74.26) |
| CIE-LCH | lch(77.38, 78.18, 108.22°) |
| OKLab | oklab(79.66% -0.0758 0.159) |
| OKLCH | oklch(79.66% 0.176 115.5) |
| XYZ | xyz(41.0820, 52.1629, 8.8814) |
| Luminance | 0.5216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.35
Bile
#B5C306
ΔE00 1.57
Green Yellow
#B5CE08
ΔE00 1.93
Snot
#ACBB0D
ΔE00 3.64
Pea
#A4BF20
ΔE00 4.24
Gross Green
#A0BF16
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C91A #2A1AC9
analogous
#C9821A #B9C91A #61C91A
triadic
#B9C91A #1AB9C9 #C91AB9
tetradic
#B9C91A #1AC982 #2A1AC9 #C91A61
square
#B9C91A #1AC982 #2A1AC9 #C91A61
split-complementary
#B9C91A #1A61C9 #821AC9
monochromatic
#555D0C #879313 #B9C91A #D6E63B #E1ED71
Accessibility & contrast
On white
1.84
#B9C91A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#B9C91A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C91A
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C91A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C91A | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D7C030
Tritanopia (blue-blind)
#C6BDAB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b9c91a; /* rgb */ color: rgb(185, 201, 26); /* oklch */ color: oklch(79.7% 0.176 115.5);
Tailwind
colors: {
custom: {
50: '#d2d96d',
500: '#b9c91a',
950: '#000000',
},
}SCSS
$custom: #b9c91a; $custom-light: #d2d96d; $custom-dark: #000000;
JSON
{
"hex": "#b9c91a",
"rgb": {
"r": 185,
"g": 201,
"b": 26
},
"hsl": {
"h": 65.486,
"s": 77.093,
"l": 44.51
},
"oklch": {
"l": 0.79665,
"c": 0.17617,
"h": 115.5
},
"luminance": 0.52162
}Semantic roles & 50–950 ramp
primary
#B9C91A
secondary
#261F68
accent
#34F446
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D