#7D8F4D#7D8F4D
#7D8F4D is a mid, moderate yellow-green. Relative luminance 0.245; OKLCH L 62.0% C 0.093 H 121.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7D8F4D |
|---|---|
| RGB | rgb(125, 143, 77) |
| HSL | hsl(76, 30%, 43%) |
| HSV | hsv(76, 46%, 56%) |
| CMYK | cmyk(12.6%, 0%, 46.2%, 43.9%) |
| CIE-LAB | lab(56.63, -17.54, 32.86) |
| CIE-LCH | lch(56.63, 37.25, 118.10°) |
| OKLab | oklab(62% -0.0489 0.0792) |
| OKLCH | oklch(62% 0.093 121.7) |
| XYZ | xyz(19.6195, 24.5407, 10.7230) |
| Luminance | 0.2454 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 0.54
Drab Green
#749551
ΔE00 3.73
Moss Green
#8A9A5B
ΔE00 4.02
Khaki Green
#728639
ΔE00 4.17
Moss
#769958
ΔE00 4.84
Swamp
#698339
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D8F4D #5F4D8F
analogous
#8F804D #7D8F4D #5C8F4D
triadic
#7D8F4D #4D7D8F #8F4D7D
tetradic
#7D8F4D #4D8F80 #5F4D8F #8F4D5C
square
#7D8F4D #4D8F80 #5F4D8F #8F4D5C
split-complementary
#7D8F4D #4D5C8F #804D8F
monochromatic
#373F22 #5A6738 #7D8F4D #9CAF6A #B7C492
Accessibility & contrast
On white
3.55
#7D8F4D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#7D8F4D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D8F4D
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D8F4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D8F4D | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968848
Deuteranopia (green-blind)
#948851
Tritanopia (blue-blind)
#82897F
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #7d8f4d; /* rgb */ color: rgb(125, 143, 77); /* oklch */ color: oklch(62.0% 0.093 121.7);
Tailwind
colors: {
custom: {
50: '#a4af80',
500: '#7d8f4d',
950: '#000000',
},
}SCSS
$custom: #7d8f4d; $custom-light: #a4af80; $custom-dark: #000000;
JSON
{
"hex": "#7d8f4d",
"rgb": {
"r": 125,
"g": 143,
"b": 77
},
"hsl": {
"h": 76.364,
"s": 30,
"l": 43.137
},
"oklch": {
"l": 0.61996,
"c": 0.09309,
"h": 121.7
},
"luminance": 0.24541
}Semantic roles & 50–950 ramp
primary
#7D8F4D
secondary
#9287B1
accent
#62C67D
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C