#8EA257#8EA257
#8EA257 is a light, moderate yellow-green. Relative luminance 0.323; OKLCH L 67.9% C 0.103 H 121.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8EA257 |
|---|---|
| RGB | rgb(142, 162, 87) |
| HSL | hsl(76, 30%, 49%) |
| HSV | hsv(76, 46%, 64%) |
| CMYK | cmyk(12.3%, 0%, 46.3%, 36.5%) |
| CIE-LAB | lab(63.57, -19.26, 36.52) |
| CIE-LCH | lch(63.57, 41.29, 117.81°) |
| OKLab | oklab(67.93% -0.0538 0.0879) |
| OKLCH | oklch(67.93% 0.103 121.4) |
| XYZ | xyz(25.7960, 32.2796, 13.8866) |
| Luminance | 0.3228 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.14
Moss
#769958
ΔE00 5.83
Drab Green
#749551
ΔE00 6.19
Camo
#7F8F4E
ΔE00 6.21
Asparagus
#77AB56
ΔE00 6.40
Sage
#87AE73
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8EA257 #6B57A2
analogous
#A29157 #8EA257 #69A257
triadic
#8EA257 #578EA2 #A2578E
tetradic
#8EA257 #57A291 #6B57A2 #A25769
square
#8EA257 #57A291 #6B57A2 #A25769
split-complementary
#8EA257 #5769A2 #9157A2
monochromatic
#48522C #6B7A42 #8EA257 #A9B97D #C3CFA5
Accessibility & contrast
On white
2.82
#8EA257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#8EA257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8EA257
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8EA257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8EA257 | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9A51
Deuteranopia (green-blind)
#A79A5B
Tritanopia (blue-blind)
#949B90
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #8ea257; /* rgb */ color: rgb(142, 162, 87); /* oklch */ color: oklch(67.9% 0.103 121.4);
Tailwind
colors: {
custom: {
50: '#b0bd88',
500: '#8ea257',
950: '#000000',
},
}SCSS
$custom: #8ea257; $custom-light: #b0bd88; $custom-dark: #000000;
JSON
{
"hex": "#8ea257",
"rgb": {
"r": 142,
"g": 162,
"b": 87
},
"hsl": {
"h": 76,
"s": 30.12,
"l": 48.824
},
"oklch": {
"l": 0.67926,
"c": 0.10305,
"h": 121.4
},
"luminance": 0.3228
}Semantic roles & 50–950 ramp
primary
#8EA257
secondary
#A299BC
accent
#61C67C
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120B
muted
#80817C