#7D8D3E#7D8D3E
#7D8D3E is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.106 H 119.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7D8D3E |
|---|---|
| RGB | rgb(125, 141, 62) |
| HSL | hsl(72, 39%, 40%) |
| HSV | hsv(72, 56%, 55%) |
| CMYK | cmyk(11.3%, 0%, 56%, 44.7%) |
| CIE-LAB | lab(55.84, -18.08, 39.59) |
| CIE-LCH | lch(55.84, 43.52, 114.55°) |
| OKLab | oklab(61.31% -0.0518 0.0927) |
| OKLCH | oklch(61.31% 0.106 119.2) |
| XYZ | xyz(18.8520, 23.7576, 8.1490) |
| Luminance | 0.2376 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.85
Khaki Green
#728639
ΔE00 3.07
Olivedrab
#6B8E23
ΔE00 4.98
Swamp
#698339
ΔE00 5.26
Drab
#828344
ΔE00 5.27
Moss Green (survey)
#658B38
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D8D3E #4E3E8D
analogous
#8D763E #7D8D3E #568D3E
triadic
#7D8D3E #3E7D8D #8D3E7D
tetradic
#7D8D3E #3E8D76 #4E3E8D #8D3E56
square
#7D8D3E #3E8D76 #4E3E8D #8D3E56
split-complementary
#7D8D3E #3E568D #763E8D
monochromatic
#323819 #57622B #7D8D3E #A1B454 #B8C77F
Accessibility & contrast
On white
3.65
#7D8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#7D8D3E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D8D3E
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D8D3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D8D3E | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958636
Deuteranopia (green-blind)
#938643
Tritanopia (blue-blind)
#83867B
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #7d8d3e; /* rgb */ color: rgb(125, 141, 62); /* oklch */ color: oklch(61.3% 0.106 119.2);
Tailwind
colors: {
custom: {
50: '#a4ae76',
500: '#7d8d3e',
950: '#000000',
},
}SCSS
$custom: #7d8d3e; $custom-light: #a4ae76; $custom-dark: #000000;
JSON
{
"hex": "#7d8d3e",
"rgb": {
"r": 125,
"g": 141,
"b": 62
},
"hsl": {
"h": 72.152,
"s": 38.916,
"l": 39.804
},
"oklch": {
"l": 0.61309,
"c": 0.1062,
"h": 119.2
},
"luminance": 0.23758
}Semantic roles & 50–950 ramp
primary
#7D8D3E
secondary
#8276B1
accent
#59CF71
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B