#8EA157#8EA157
#8EA157 is a light, moderate yellow-green. Relative luminance 0.319; OKLCH L 67.7% C 0.102 H 121.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8EA157 |
|---|---|
| RGB | rgb(142, 161, 87) |
| HSL | hsl(75, 30%, 49%) |
| HSV | hsv(75, 46%, 63%) |
| CMYK | cmyk(11.8%, 0%, 46%, 36.9%) |
| CIE-LAB | lab(63.28, -18.75, 36.17) |
| CIE-LCH | lch(63.28, 40.74, 117.41°) |
| OKLab | oklab(67.69% -0.0523 0.0871) |
| OKLCH | oklch(67.69% 0.102 121) |
| XYZ | xyz(25.6206, 31.9287, 13.8281) |
| Luminance | 0.3193 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.83
Moss
#769958
ΔE00 5.77
Camo
#7F8F4E
ΔE00 5.91
Drab Green
#749551
ΔE00 6.08
Asparagus
#77AB56
ΔE00 6.68
Khaki (survey)
#AAA662
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8EA157 #6A57A1
analogous
#A18F57 #8EA157 #69A157
triadic
#8EA157 #578EA1 #A1578E
tetradic
#8EA157 #57A18F #6A57A1 #A15769
square
#8EA157 #57A18F #6A57A1 #A15769
split-complementary
#8EA157 #5769A1 #8F57A1
monochromatic
#48522C #6B7942 #8EA157 #A9B97D #C3CEA4
Accessibility & contrast
On white
2.84
#8EA157 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#8EA157 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8EA157
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8EA157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8EA157 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99951
Deuteranopia (green-blind)
#A7995B
Tritanopia (blue-blind)
#949A8F
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #8ea157; /* rgb */ color: rgb(142, 161, 87); /* oklch */ color: oklch(67.7% 0.102 121.0);
Tailwind
colors: {
custom: {
50: '#b0bc88',
500: '#8ea157',
950: '#000000',
},
}SCSS
$custom: #8ea157; $custom-light: #b0bc88; $custom-dark: #000000;
JSON
{
"hex": "#8ea157",
"rgb": {
"r": 142,
"g": 161,
"b": 87
},
"hsl": {
"h": 75.405,
"s": 29.839,
"l": 48.627
},
"oklch": {
"l": 0.67694,
"c": 0.10162,
"h": 121
},
"luminance": 0.31929
}Semantic roles & 50–950 ramp
primary
#8EA157
secondary
#A198BC
accent
#62C67B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120B
muted
#80817C