#9EA931#9EA931
#9EA931 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.140 H 114.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA931 |
|---|---|
| RGB | rgb(158, 169, 49) |
| HSL | hsl(66, 55%, 43%) |
| HSV | hsv(66, 71%, 66%) |
| CMYK | cmyk(6.5%, 0%, 71%, 33.7%) |
| CIE-LAB | lab(66.42, -19.25, 57.27) |
| CIE-LCH | lch(66.42, 60.42, 108.58°) |
| OKLab | oklab(70.39% -0.0584 0.1276) |
| OKLCH | oklch(70.39% 0.14 114.6) |
| XYZ | xyz(28.8437, 35.8673, 8.3088) |
| Luminance | 0.3587 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.46
Puke Green
#9AAE07
ΔE00 3.26
Vomit
#A2A415
ΔE00 3.44
Barf Green
#94AC02
ΔE00 3.53
Pea Green
#8EAB12
ΔE00 4.01
Icky Green
#8FAE22
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA931 #3C31A9
analogous
#A97831 #9EA931 #62A931
triadic
#9EA931 #319EA9 #A9319E
tetradic
#9EA931 #31A978 #3C31A9 #A93162
square
#9EA931 #31A978 #3C31A9 #A93162
split-complementary
#9EA931 #3162A9 #7831A9
monochromatic
#454A15 #727A23 #9EA931 #BFCB4C #D0D97C
Accessibility & contrast
On white
2.57
#9EA931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#9EA931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA931
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA931 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A11C
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#A89F91
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9ea931; /* rgb */ color: rgb(158, 169, 49); /* oklch */ color: oklch(70.4% 0.140 114.6);
Tailwind
colors: {
custom: {
50: '#bec271',
500: '#9ea931',
950: '#000000',
},
}SCSS
$custom: #9ea931; $custom-light: #bec271; $custom-dark: #000000;
JSON
{
"hex": "#9ea931",
"rgb": {
"r": 158,
"g": 169,
"b": 49
},
"hsl": {
"h": 65.5,
"s": 55.046,
"l": 42.745
},
"oklch": {
"l": 0.7039,
"c": 0.1403,
"h": 114.6
},
"luminance": 0.35867
}Semantic roles & 50–950 ramp
primary
#9EA931
secondary
#7B74C1
accent
#49DE57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B