#9EA81B#9EA81B
#9EA81B is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.0% C 0.151 H 114.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA81B |
|---|---|
| RGB | rgb(158, 168, 27) |
| HSL | hsl(64, 72%, 38%) |
| HSV | hsv(64, 84%, 66%) |
| CMYK | cmyk(6%, 0%, 83.9%, 34.1%) |
| CIE-LAB | lab(66.02, -19.67, 63.78) |
| CIE-LCH | lch(66.02, 66.74, 107.14°) |
| OKLab | oklab(70.04% -0.0613 0.1375) |
| OKLCH | oklch(70.04% 0.151 114) |
| XYZ | xyz(28.3019, 35.3541, 6.3698) |
| Luminance | 0.3535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.15
Vomit
#A2A415
ΔE00 2.17
Puke Green
#9AAE07
ΔE00 2.55
Puke
#A5A502
ΔE00 2.90
Barf Green
#94AC02
ΔE00 3.04
Mustard Green
#A8B504
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA81B #251BA8
analogous
#A86B1B #9EA81B #58A81B
triadic
#9EA81B #1B9EA8 #A81B9E
tetradic
#9EA81B #1BA86B #251BA8 #A81B58
square
#9EA81B #1BA86B #251BA8 #A81B58
split-complementary
#9EA81B #1B58A8 #6B1BA8
monochromatic
#3B3F0A #6C7313 #9EA81B #CFDC24 #DAE459
Accessibility & contrast
On white
2.60
#9EA81B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#9EA81B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA81B
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA81B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA81B | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22A
Tritanopia (blue-blind)
#A99D8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9ea81b; /* rgb */ color: rgb(158, 168, 27); /* oklch */ color: oklch(70.0% 0.151 114.0);
Tailwind
colors: {
custom: {
50: '#bfc167',
500: '#9ea81b',
950: '#000000',
},
}SCSS
$custom: #9ea81b; $custom-light: #bfc167; $custom-dark: #000000;
JSON
{
"hex": "#9ea81b",
"rgb": {
"r": 158,
"g": 168,
"b": 27
},
"hsl": {
"h": 64.255,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.70038,
"c": 0.15059,
"h": 114
},
"luminance": 0.35353
}Semantic roles & 50–950 ramp
primary
#9EA81B
secondary
#5F57C8
accent
#39EF46
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A