#9EAA2F#9EAA2F
#9EAA2F is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.143 H 115.0°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAA2F |
|---|---|
| RGB | rgb(158, 170, 47) |
| HSL | hsl(66, 57%, 43%) |
| HSV | hsv(66, 72%, 67%) |
| CMYK | cmyk(7.1%, 0%, 72.4%, 33.3%) |
| CIE-LAB | lab(66.69, -19.86, 58.27) |
| CIE-LCH | lch(66.69, 61.56, 108.82°) |
| OKLab | oklab(70.6% -0.0603 0.1293) |
| OKLCH | oklch(70.6% 0.143 115) |
| XYZ | xyz(28.9892, 36.2243, 8.1536) |
| Luminance | 0.3622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.35
Puke Green
#9AAE07
ΔE00 2.89
Barf Green
#94AC02
ΔE00 3.20
Vomit
#A2A415
ΔE00 3.52
Pea Green
#8EAB12
ΔE00 3.75
Icky Green
#8FAE22
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAA2F #3B2FAA
analogous
#AA792F #9EAA2F #60AA2F
triadic
#9EAA2F #2F9EAA #AA2F9E
tetradic
#9EAA2F #2FAA79 #3B2FAA #AA2F60
square
#9EAA2F #2FAA79 #3B2FAA #AA2F60
split-complementary
#9EAA2F #2F60AA #792FAA
monochromatic
#454A14 #717A22 #9EAA2F #C0CD49 #D1DA79
Accessibility & contrast
On white
2.55
#9EAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#9EAA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAA2F
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAA2F | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A118
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#A8A092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9eaa2f; /* rgb */ color: rgb(158, 170, 47); /* oklch */ color: oklch(70.6% 0.143 115.0);
Tailwind
colors: {
custom: {
50: '#bec370',
500: '#9eaa2f',
950: '#000000',
},
}SCSS
$custom: #9eaa2f; $custom-light: #bec370; $custom-dark: #000000;
JSON
{
"hex": "#9eaa2f",
"rgb": {
"r": 158,
"g": 170,
"b": 47
},
"hsl": {
"h": 65.854,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.70604,
"c": 0.1427,
"h": 115
},
"luminance": 0.36224
}Semantic roles & 50–950 ramp
primary
#9EAA2F
secondary
#7A72C2
accent
#48E057
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B