#7E9858#7E9858
#7E9858 is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.4% C 0.094 H 126.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E9858 |
|---|---|
| RGB | rgb(126, 152, 88) |
| HSL | hsl(84, 27%, 47%) |
| HSV | hsv(84, 42%, 60%) |
| CMYK | cmyk(17.1%, 0%, 42.1%, 40.4%) |
| CIE-LAB | lab(59.52, -20.43, 30.68) |
| CIE-LCH | lch(59.52, 36.86, 123.66°) |
| OKLab | oklab(64.39% -0.0563 0.0749) |
| OKLCH | oklch(64.39% 0.094 126.9) |
| XYZ | xyz(21.5937, 27.5964, 13.4196) |
| Luminance | 0.2760 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss
#769958
ΔE00 2.02
Drab Green
#749551
ΔE00 2.19
Moss Green
#8A9A5B
ΔE00 2.83
Camo
#7F8F4E
ΔE00 3.65
Flat Green
#699D4C
ΔE00 5.24
Dull Green
#74A662
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E9858 #725898
analogous
#989258 #7E9858 #5E9858
triadic
#7E9858 #587E98 #98587E
tetradic
#7E9858 #589892 #725898 #98585E
square
#7E9858 #589892 #725898 #98585E
split-complementary
#7E9858 #585E98 #925898
monochromatic
#3E4A2B #5E7142 #7E9858 #9CB27B #B9C9A2
Accessibility & contrast
On white
3.22
#7E9858 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#7E9858 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E9858
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E9858 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E9858 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E9053
Deuteranopia (green-blind)
#9A8F5B
Tritanopia (blue-blind)
#819388
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #7e9858; /* rgb */ color: rgb(126, 152, 88); /* oklch */ color: oklch(64.4% 0.094 126.9);
Tailwind
colors: {
custom: {
50: '#a4b688',
500: '#7e9858',
950: '#000000',
},
}SCSS
$custom: #7e9858; $custom-light: #a4b688; $custom-dark: #000000;
JSON
{
"hex": "#7e9858",
"rgb": {
"r": 126,
"g": 152,
"b": 88
},
"hsl": {
"h": 84.375,
"s": 26.667,
"l": 47.059
},
"oklch": {
"l": 0.64391,
"c": 0.09371,
"h": 126.9
},
"luminance": 0.27597
}Semantic roles & 50–950 ramp
primary
#7E9858
secondary
#A395B7
accent
#65C38B
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110B
muted
#7F807C