#8EA251#8EA251
#8EA251 is a light, moderate yellow-green. Relative luminance 0.322; OKLCH L 67.8% C 0.109 H 120.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8EA251 |
|---|---|
| RGB | rgb(142, 162, 81) |
| HSL | hsl(75, 33%, 48%) |
| HSV | hsv(75, 50%, 64%) |
| CMYK | cmyk(12.3%, 0%, 50%, 36.5%) |
| CIE-LAB | lab(63.50, -19.92, 39.47) |
| CIE-LCH | lch(63.50, 44.21, 116.77°) |
| OKLab | oklab(67.84% -0.0561 0.094) |
| OKLCH | oklch(67.84% 0.109 120.8) |
| XYZ | xyz(25.5610, 32.1856, 12.6488) |
| Luminance | 0.3219 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.89
Moss
#769958
ΔE00 6.43
Camo
#7F8F4E
ΔE00 6.49
Avocado Green
#87A922
ΔE00 6.58
Asparagus
#77AB56
ΔE00 6.59
Drab Green
#749551
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8EA251 #6551A2
analogous
#A28D51 #8EA251 #65A251
triadic
#8EA251 #518EA2 #A2518E
tetradic
#8EA251 #51A28D #6551A2 #A25165
square
#8EA251 #51A28D #6551A2 #A25165
split-complementary
#8EA251 #5165A2 #8D51A2
monochromatic
#465028 #6A793D #8EA251 #A9BA76 #C3CF9F
Accessibility & contrast
On white
2.82
#8EA251 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#8EA251 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8EA251
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8EA251 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8EA251 | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9A4A
Deuteranopia (green-blind)
#A89A56
Tritanopia (blue-blind)
#949B8F
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #8ea251; /* rgb */ color: rgb(142, 162, 81); /* oklch */ color: oklch(67.8% 0.109 120.8);
Tailwind
colors: {
custom: {
50: '#b1bd84',
500: '#8ea251',
950: '#000000',
},
}SCSS
$custom: #8ea251; $custom-light: #b1bd84; $custom-dark: #000000;
JSON
{
"hex": "#8ea251",
"rgb": {
"r": 142,
"g": 162,
"b": 81
},
"hsl": {
"h": 74.815,
"s": 33.333,
"l": 47.647
},
"oklch": {
"l": 0.67839,
"c": 0.10948,
"h": 120.8
},
"luminance": 0.32186
}Semantic roles & 50–950 ramp
primary
#8EA251
secondary
#9D93BC
accent
#5EC979
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C