#9EAA31#9EAA31
#9EAA31 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.141 H 115.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9EAA31 |
|---|---|
| RGB | rgb(158, 170, 49) |
| HSL | hsl(66, 55%, 43%) |
| HSV | hsv(66, 71%, 67%) |
| CMYK | cmyk(7.1%, 0%, 71.2%, 33.3%) |
| CIE-LAB | lab(66.70, -19.76, 57.55) |
| CIE-LCH | lch(66.70, 60.85, 108.95°) |
| OKLab | oklab(70.62% -0.0598 0.1282) |
| OKLCH | oklch(70.62% 0.141 115) |
| XYZ | xyz(29.0304, 36.2408, 8.3710) |
| Luminance | 0.3624 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.45
Puke Green
#9AAE07
ΔE00 3.05
Barf Green
#94AC02
ΔE00 3.33
Vomit
#A2A415
ΔE00 3.66
Pea Green
#8EAB12
ΔE00 3.81
Icky Green
#8FAE22
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EAA31 #3D31AA
analogous
#AA7931 #9EAA31 #62AA31
triadic
#9EAA31 #319EAA #AA319E
tetradic
#9EAA31 #31AA79 #3D31AA #AA3162
square
#9EAA31 #31AA79 #3D31AA #AA3162
split-complementary
#9EAA31 #3162AA #7931AA
monochromatic
#464B16 #727A23 #9EAA31 #BFCC4D #D0D97C
Accessibility & contrast
On white
2.55
#9EAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#9EAA31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EAA31
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EAA31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EAA31 | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#A8A092
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #9eaa31; /* rgb */ color: rgb(158, 170, 49); /* oklch */ color: oklch(70.6% 0.141 115.0);
Tailwind
colors: {
custom: {
50: '#bec371',
500: '#9eaa31',
950: '#000000',
},
}SCSS
$custom: #9eaa31; $custom-light: #bec371; $custom-dark: #000000;
JSON
{
"hex": "#9eaa31",
"rgb": {
"r": 158,
"g": 170,
"b": 49
},
"hsl": {
"h": 65.95,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.70618,
"c": 0.14142,
"h": 115
},
"luminance": 0.3624
}Semantic roles & 50–950 ramp
primary
#9EAA31
secondary
#7D75C2
accent
#49DF58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B