#9EAB2A#9EAB2A
#9EAB2A is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.147 H 115.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAB2A |
|---|---|
| RGB | rgb(158, 171, 42) |
| HSL | hsl(66, 61%, 42%) |
| HSV | hsv(66, 75%, 67%) |
| CMYK | cmyk(7.6%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(66.95, -20.61, 60.25) |
| CIE-LCH | lch(66.95, 63.68, 108.88°) |
| OKLab | oklab(70.8% -0.0628 0.1326) |
| OKLCH | oklch(70.8% 0.147 115.3) |
| XYZ | xyz(29.0822, 36.5626, 7.7153) |
| Luminance | 0.3656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.20
Puke Green
#9AAE07
ΔE00 2.32
Barf Green
#94AC02
ΔE00 2.75
Pea Green
#8EAB12
ΔE00 3.49
Vomit
#A2A415
ΔE00 3.50
Sickly Green
#94B21C
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAB2A #372AAB
analogous
#AB782A #9EAB2A #5DAB2A
triadic
#9EAB2A #2A9EAB #AB2A9E
tetradic
#9EAB2A #2AAB78 #372AAB #AB2A5D
square
#9EAB2A #2AAB78 #372AAB #AB2A5D
split-complementary
#9EAB2A #2A5DAB #782AAB
monochromatic
#434912 #717A1E #9EAB2A #C2D142 #D2DD73
Accessibility & contrast
On white
2.53
#9EAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#9EAB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAB2A
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAB2A | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20B
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#A8A193
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #9eab2a; /* rgb */ color: rgb(158, 171, 42); /* oklch */ color: oklch(70.8% 0.147 115.3);
Tailwind
colors: {
custom: {
50: '#bec36e',
500: '#9eab2a',
950: '#000000',
},
}SCSS
$custom: #9eab2a; $custom-light: #bec36e; $custom-dark: #000000;
JSON
{
"hex": "#9eab2a",
"rgb": {
"r": 158,
"g": 171,
"b": 42
},
"hsl": {
"h": 66.047,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.70801,
"c": 0.14676,
"h": 115.3
},
"luminance": 0.36562
}Semantic roles & 50–950 ramp
primary
#9EAB2A
secondary
#766DC4
accent
#44E454
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B