#7D985F#7D985F
#7D985F is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.4% C 0.086 H 129.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7D985F |
|---|---|
| RGB | rgb(125, 152, 95) |
| HSL | hsl(88, 23%, 48%) |
| HSV | hsv(88, 38%, 60%) |
| CMYK | cmyk(17.8%, 0%, 37.5%, 40.4%) |
| CIE-LAB | lab(59.56, -19.88, 26.96) |
| CIE-LCH | lch(59.56, 33.49, 126.40°) |
| OKLab | oklab(64.44% -0.0543 0.0667) |
| OKLCH | oklch(64.44% 0.086 129.2) |
| XYZ | xyz(21.7509, 27.6424, 15.0138) |
| Luminance | 0.2764 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss
#769958
ΔE00 2.15
Drab Green
#749551
ΔE00 2.89
Moss Green
#8A9A5B
ΔE00 3.66
Camo
#7F8F4E
ΔE00 4.56
Dull Green
#74A662
ΔE00 5.55
Flat Green
#699D4C
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D985F #7A5F98
analogous
#98965F #7D985F #60985F
triadic
#7D985F #5F7D98 #985F7D
tetradic
#7D985F #5F9896 #7A5F98 #985F60
square
#7D985F #5F9896 #7A5F98 #985F60
split-complementary
#7D985F #5F6098 #965F98
monochromatic
#3F4D30 #5E7247 #7D985F #9BB183 #BAC9A8
Accessibility & contrast
On white
3.22
#7D985F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#7D985F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D985F
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D985F | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D915B
Deuteranopia (green-blind)
#998F62
Tritanopia (blue-blind)
#7F938A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #7d985f; /* rgb */ color: rgb(125, 152, 95); /* oklch */ color: oklch(64.4% 0.086 129.2);
Tailwind
colors: {
custom: {
50: '#a3b68d',
500: '#7d985f',
950: '#000000',
},
}SCSS
$custom: #7d985f; $custom-light: #a3b68d; $custom-dark: #000000;
JSON
{
"hex": "#7d985f",
"rgb": {
"r": 125,
"g": 152,
"b": 95
},
"hsl": {
"h": 88.421,
"s": 23.077,
"l": 48.431
},
"oklch": {
"l": 0.64444,
"c": 0.08598,
"h": 129.2
},
"luminance": 0.27643
}Semantic roles & 50–950 ramp
primary
#7D985F
secondary
#A99CB7
accent
#68C092
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D