#9EA81C#9EA81C
#9EA81C is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.0% C 0.150 H 114.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA81C |
|---|---|
| RGB | rgb(158, 168, 28) |
| HSL | hsl(64, 71%, 38%) |
| HSV | hsv(64, 83%, 66%) |
| CMYK | cmyk(6%, 0%, 83.3%, 34.1%) |
| CIE-LAB | lab(66.03, -19.63, 63.53) |
| CIE-LCH | lch(66.03, 66.50, 107.17°) |
| OKLab | oklab(70.04% -0.0612 0.1372) |
| OKLCH | oklch(70.04% 0.15 114) |
| XYZ | xyz(28.3137, 35.3588, 6.4318) |
| Luminance | 0.3536 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.14
Vomit
#A2A415
ΔE00 2.19
Puke Green
#9AAE07
ΔE00 2.57
Puke
#A5A502
ΔE00 2.93
Barf Green
#94AC02
ΔE00 3.05
Mustard Green
#A8B504
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA81C #261CA8
analogous
#A86C1C #9EA81C #58A81C
triadic
#9EA81C #1C9EA8 #A81C9E
tetradic
#9EA81C #1CA86C #261CA8 #A81C58
square
#9EA81C #1CA86C #261CA8 #A81C58
split-complementary
#9EA81C #1C58A8 #6C1CA8
monochromatic
#3B3F0B #6D7413 #9EA81C #CEDB26 #DAE45B
Accessibility & contrast
On white
2.60
#9EA81C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#9EA81C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA81C
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA81C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA81C | 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)
#B5A22B
Tritanopia (blue-blind)
#A99D8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9ea81c; /* rgb */ color: rgb(158, 168, 28); /* oklch */ color: oklch(70.0% 0.150 114.0);
Tailwind
colors: {
custom: {
50: '#bfc168',
500: '#9ea81c',
950: '#000000',
},
}SCSS
$custom: #9ea81c; $custom-light: #bfc168; $custom-dark: #000000;
JSON
{
"hex": "#9ea81c",
"rgb": {
"r": 158,
"g": 168,
"b": 28
},
"hsl": {
"h": 64.286,
"s": 71.429,
"l": 38.431
},
"oklch": {
"l": 0.70042,
"c": 0.1502,
"h": 114
},
"luminance": 0.35358
}Semantic roles & 50–950 ramp
primary
#9EA81C
secondary
#6058C7
accent
#3AEE47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A