#7E985F#7E985F
#7E985F is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.5% C 0.086 H 128.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7E985F |
|---|---|
| RGB | rgb(126, 152, 95) |
| HSL | hsl(87, 23%, 48%) |
| HSV | hsv(87, 38%, 60%) |
| CMYK | cmyk(17.1%, 0%, 37.5%, 40.4%) |
| CIE-LAB | lab(59.63, -19.49, 27.06) |
| CIE-LCH | lch(59.63, 33.35, 125.76°) |
| OKLab | oklab(64.52% -0.0533 0.0669) |
| OKLCH | oklch(64.52% 0.086 128.5) |
| XYZ | xyz(21.8977, 27.7181, 15.0207) |
| Luminance | 0.2772 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss
#769958
ΔE00 2.31
Drab Green
#749551
ΔE00 2.98
Moss Green
#8A9A5B
ΔE00 3.43
Camo
#7F8F4E
ΔE00 4.42
Dull Green
#74A662
ΔE00 5.70
Flat Green
#699D4C
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E985F #795F98
analogous
#98955F #7E985F #61985F
triadic
#7E985F #5F7E98 #985F7E
tetradic
#7E985F #5F9895 #795F98 #985F61
square
#7E985F #5F9895 #795F98 #985F61
split-complementary
#7E985F #5F6198 #955F98
monochromatic
#404D30 #5F7247 #7E985F #9CB183 #BAC9A8
Accessibility & contrast
On white
3.21
#7E985F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#7E985F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E985F
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E985F | 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)
#9D915B
Deuteranopia (green-blind)
#998F62
Tritanopia (blue-blind)
#80938A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #7e985f; /* rgb */ color: rgb(126, 152, 95); /* oklch */ color: oklch(64.5% 0.086 128.5);
Tailwind
colors: {
custom: {
50: '#a4b68d',
500: '#7e985f',
950: '#000000',
},
}SCSS
$custom: #7e985f; $custom-light: #a4b68d; $custom-dark: #000000;
JSON
{
"hex": "#7e985f",
"rgb": {
"r": 126,
"g": 152,
"b": 95
},
"hsl": {
"h": 87.368,
"s": 23.077,
"l": 48.431
},
"oklch": {
"l": 0.64517,
"c": 0.0855,
"h": 128.5
},
"luminance": 0.27718
}Semantic roles & 50–950 ramp
primary
#7E985F
secondary
#A89CB7
accent
#68C090
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D