#9EA837#9EA837
#9EA837 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.135 H 114.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9EA837 |
|---|---|
| RGB | rgb(158, 168, 55) |
| HSL | hsl(65, 51%, 44%) |
| HSV | hsv(65, 67%, 66%) |
| CMYK | cmyk(6%, 0%, 67.3%, 34.1%) |
| CIE-LAB | lab(66.18, -18.40, 54.69) |
| CIE-LCH | lch(66.18, 57.70, 108.59°) |
| OKLab | oklab(70.21% -0.0554 0.1231) |
| OKLCH | oklch(70.21% 0.135 114.2) |
| XYZ | xyz(28.7935, 35.5507, 8.9589) |
| Luminance | 0.3555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.95
Vomit
#A2A415
ΔE00 3.77
Puke Green
#9AAE07
ΔE00 4.00
Barf Green
#94AC02
ΔE00 4.18
Pea Green
#8EAB12
ΔE00 4.48
Booger
#9BB53C
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9EA837 #4137A8
analogous
#A87937 #9EA837 #65A837
triadic
#9EA837 #379EA8 #A8379E
tetradic
#9EA837 #37A879 #4137A8 #A83765
square
#9EA837 #37A879 #4137A8 #A83765
split-complementary
#9EA837 #3765A8 #7937A8
monochromatic
#474C19 #737A28 #9EA837 #BDC755 #CFD683
Accessibility & contrast
On white
2.59
#9EA837 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#9EA837 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9EA837
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9EA837 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9EA837 | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#B4A23F
Tritanopia (blue-blind)
#A89E91
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9ea837; /* rgb */ color: rgb(158, 168, 55); /* oklch */ color: oklch(70.2% 0.135 114.2);
Tailwind
colors: {
custom: {
50: '#bec174',
500: '#9ea837',
950: '#000000',
},
}SCSS
$custom: #9ea837; $custom-light: #bec174; $custom-dark: #000000;
JSON
{
"hex": "#9ea837",
"rgb": {
"r": 158,
"g": 168,
"b": 55
},
"hsl": {
"h": 65.31,
"s": 50.673,
"l": 43.725
},
"oklch": {
"l": 0.70208,
"c": 0.13504,
"h": 114.2
},
"luminance": 0.3555
}Semantic roles & 50–950 ramp
primary
#9EA837
secondary
#817BC0
accent
#4EDA5A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B