#7E985E#7E985E
#7E985E is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.5% C 0.087 H 128.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7E985E |
|---|---|
| RGB | rgb(126, 152, 94) |
| HSL | hsl(87, 24%, 48%) |
| HSV | hsv(87, 38%, 60%) |
| CMYK | cmyk(17.1%, 0%, 38.2%, 40.4%) |
| CIE-LAB | lab(59.62, -19.63, 27.58) |
| CIE-LCH | lch(59.62, 33.85, 125.44°) |
| OKLab | oklab(64.5% -0.0537 0.0681) |
| OKLCH | oklch(64.5% 0.087 128.3) |
| XYZ | xyz(21.8525, 27.7000, 14.7829) |
| Luminance | 0.2770 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss
#769958
ΔE00 2.20
Drab Green
#749551
ΔE00 2.82
Moss Green
#8A9A5B
ΔE00 3.30
Camo
#7F8F4E
ΔE00 4.28
Dull Green
#74A662
ΔE00 5.68
Flat Green
#699D4C
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E985E #785E98
analogous
#98955E #7E985E #61985E
triadic
#7E985E #5E7E98 #985E7E
tetradic
#7E985E #5E9895 #785E98 #985E61
square
#7E985E #5E9895 #785E98 #985E61
split-complementary
#7E985E #5E6198 #955E98
monochromatic
#3F4C2F #5F7247 #7E985E #9CB282 #BAC9A8
Accessibility & contrast
On white
3.21
#7E985E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#7E985E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E985E
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E985E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E985E | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D915A
Deuteranopia (green-blind)
#9A8F61
Tritanopia (blue-blind)
#819389
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #7e985e; /* rgb */ color: rgb(126, 152, 94); /* oklch */ color: oklch(64.5% 0.087 128.3);
Tailwind
colors: {
custom: {
50: '#a4b68c',
500: '#7e985e',
950: '#000000',
},
}SCSS
$custom: #7e985e; $custom-light: #a4b68c; $custom-dark: #000000;
JSON
{
"hex": "#7e985e",
"rgb": {
"r": 126,
"g": 152,
"b": 94
},
"hsl": {
"h": 86.897,
"s": 23.577,
"l": 48.235
},
"oklch": {
"l": 0.64498,
"c": 0.08669,
"h": 128.3
},
"luminance": 0.277
}Semantic roles & 50–950 ramp
primary
#7E985E
secondary
#A79BB7
accent
#68C08F
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D