#7D985B#7D985B
#7D985B is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.4% C 0.091 H 128.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7D985B |
|---|---|
| RGB | rgb(125, 152, 91) |
| HSL | hsl(87, 25%, 48%) |
| HSV | hsv(87, 40%, 60%) |
| CMYK | cmyk(17.8%, 0%, 40.1%, 40.4%) |
| CIE-LAB | lab(59.50, -20.43, 29.03) |
| CIE-LCH | lch(59.50, 35.50, 125.13°) |
| OKLab | oklab(64.37% -0.0561 0.0713) |
| OKLCH | oklch(64.37% 0.091 128.2) |
| XYZ | xyz(21.5738, 27.5715, 14.0807) |
| Luminance | 0.2757 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss
#769958
ΔE00 1.77
Drab Green
#749551
ΔE00 2.28
Moss Green
#8A9A5B
ΔE00 3.24
Camo
#7F8F4E
ΔE00 4.06
Flat Green
#699D4C
ΔE00 5.31
Dull Green
#74A662
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D985B #765B98
analogous
#98945B #7D985B #5F985B
triadic
#7D985B #5B7D98 #985B7D
tetradic
#7D985B #5B9894 #765B98 #985B5F
square
#7D985B #5B9894 #765B98 #985B5F
split-complementary
#7D985B #5B5F98 #945B98
monochromatic
#3E4B2D #5E7244 #7D985B #9BB27E #B9C9A5
Accessibility & contrast
On white
3.22
#7D985B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#7D985B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D985B
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D985B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D985B | 1.00 | 3.22 | 6.51 | 6.51 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E9056
Deuteranopia (green-blind)
#9A8F5E
Tritanopia (blue-blind)
#809389
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #7d985b; /* rgb */ color: rgb(125, 152, 91); /* oklch */ color: oklch(64.4% 0.091 128.2);
Tailwind
colors: {
custom: {
50: '#a3b68a',
500: '#7d985b',
950: '#000000',
},
}SCSS
$custom: #7d985b; $custom-light: #a3b68a; $custom-dark: #000000;
JSON
{
"hex": "#7d985b",
"rgb": {
"r": 125,
"g": 152,
"b": 91
},
"hsl": {
"h": 86.557,
"s": 25.103,
"l": 47.647
},
"oklch": {
"l": 0.64371,
"c": 0.0907,
"h": 128.2
},
"luminance": 0.27572
}Semantic roles & 50–950 ramp
primary
#7D985B
secondary
#A698B7
accent
#66C28F
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D