#7F985F#7F985F
#7F985F is a light, moderate yellow-green. Relative luminance 0.278; OKLCH L 64.6% C 0.085 H 127.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7F985F |
|---|---|
| RGB | rgb(127, 152, 95) |
| HSL | hsl(86, 23%, 48%) |
| HSV | hsv(86, 38%, 60%) |
| CMYK | cmyk(16.4%, 0%, 37.5%, 40.4%) |
| CIE-LAB | lab(59.70, -19.10, 27.16) |
| CIE-LCH | lch(59.70, 33.20, 125.11°) |
| OKLab | oklab(64.59% -0.0522 0.0671) |
| OKLCH | oklch(64.59% 0.085 127.9) |
| XYZ | xyz(22.0459, 27.7945, 15.0277) |
| Luminance | 0.2779 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss
#769958
ΔE00 2.49
Drab Green
#749551
ΔE00 3.10
Moss Green
#8A9A5B
ΔE00 3.19
Camo
#7F8F4E
ΔE00 4.29
Dull Green
#74A662
ΔE00 5.86
Flat Green
#699D4C
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F985F #785F98
analogous
#98945F #7F985F #62985F
triadic
#7F985F #5F7F98 #985F7F
tetradic
#7F985F #5F9894 #785F98 #985F62
square
#7F985F #5F9894 #785F98 #985F62
split-complementary
#7F985F #5F6298 #945F98
monochromatic
#404D30 #607247 #7F985F #9DB183 #BBC9A8
Accessibility & contrast
On white
3.20
#7F985F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#7F985F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F985F
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F985F | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D915B
Deuteranopia (green-blind)
#9A8F62
Tritanopia (blue-blind)
#82938A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #7f985f; /* rgb */ color: rgb(127, 152, 95); /* oklch */ color: oklch(64.6% 0.085 127.9);
Tailwind
colors: {
custom: {
50: '#a5b68d',
500: '#7f985f',
950: '#000000',
},
}SCSS
$custom: #7f985f; $custom-light: #a5b68d; $custom-dark: #000000;
JSON
{
"hex": "#7f985f",
"rgb": {
"r": 127,
"g": 152,
"b": 95
},
"hsl": {
"h": 86.316,
"s": 23.077,
"l": 48.431
},
"oklch": {
"l": 0.6459,
"c": 0.08503,
"h": 127.9
},
"luminance": 0.27795
}Semantic roles & 50–950 ramp
primary
#7F985F
secondary
#A89CB7
accent
#68C08F
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D