#B8C91A#B8C91A
#B8C91A is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.176 H 115.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B8C91A |
|---|---|
| RGB | rgb(184, 201, 26) |
| HSL | hsl(66, 77%, 45%) |
| HSV | hsv(66, 87%, 79%) |
| CMYK | cmyk(8.5%, 0%, 87.1%, 21.2%) |
| CIE-LAB | lab(77.30, -24.87, 74.17) |
| CIE-LCH | lch(77.30, 78.23, 108.54°) |
| OKLab | oklab(79.59% -0.0769 0.1589) |
| OKLCH | oklch(79.59% 0.177 115.8) |
| XYZ | xyz(40.8415, 52.0389, 8.8701) |
| Luminance | 0.5204 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.42
Bile
#B5C306
ΔE00 1.61
Green Yellow
#B5CE08
ΔE00 1.78
Snot
#ACBB0D
ΔE00 3.61
Pea
#A4BF20
ΔE00 4.07
Gross Green
#A0BF16
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8C91A #2B1AC9
analogous
#C9831A #B8C91A #60C91A
triadic
#B8C91A #1AB8C9 #C91AB8
tetradic
#B8C91A #1AC983 #2B1AC9 #C91A60
square
#B8C91A #1AC983 #2B1AC9 #C91A60
split-complementary
#B8C91A #1A60C9 #831AC9
monochromatic
#555D0C #869313 #B8C91A #D5E63B #E1ED71
Accessibility & contrast
On white
1.84
#B8C91A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#B8C91A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8C91A
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8C91A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8C91A | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D7C030
Tritanopia (blue-blind)
#C4BDAB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b8c91a; /* rgb */ color: rgb(184, 201, 26); /* oklch */ color: oklch(79.6% 0.176 115.8);
Tailwind
colors: {
custom: {
50: '#d2d96d',
500: '#b8c91a',
950: '#000000',
},
}SCSS
$custom: #b8c91a; $custom-light: #d2d96d; $custom-dark: #000000;
JSON
{
"hex": "#b8c91a",
"rgb": {
"r": 184,
"g": 201,
"b": 26
},
"hsl": {
"h": 65.829,
"s": 77.093,
"l": 44.51
},
"oklch": {
"l": 0.79587,
"c": 0.1765,
"h": 115.8
},
"luminance": 0.52038
}Semantic roles & 50–950 ramp
primary
#B8C91A
secondary
#261F68
accent
#34F447
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D