#7D9947#7D9947
#7D9947 is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.3% C 0.114 H 125.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7D9947 |
|---|---|
| RGB | rgb(125, 153, 71) |
| HSL | hsl(80, 37%, 44%) |
| HSV | hsv(80, 54%, 60%) |
| CMYK | cmyk(18.3%, 0%, 53.6%, 40%) |
| CIE-LAB | lab(59.52, -23.33, 39.44) |
| CIE-LCH | lch(59.52, 45.82, 120.60°) |
| OKLab | oklab(64.3% -0.0656 0.0933) |
| OKLCH | oklch(64.3% 0.114 125.1) |
| XYZ | xyz(20.9860, 27.5972, 10.1812) |
| Luminance | 0.2760 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab Green
#749551
ΔE00 3.54
Moss
#769958
ΔE00 4.13
Moss Green
#8A9A5B
ΔE00 4.21
Camo
#7F8F4E
ΔE00 4.37
Flat Green
#699D4C
ΔE00 4.92
Olivedrab
#6B8E23
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D9947 #634799
analogous
#998C47 #7D9947 #549947
triadic
#7D9947 #477D99 #99477D
tetradic
#7D9947 #47998C #634799 #994754
square
#7D9947 #47998C #634799 #994754
split-complementary
#7D9947 #475499 #8C4799
monochromatic
#394520 #5B6F34 #7D9947 #9CB865 #B7CB8F
Accessibility & contrast
On white
3.22
#7D9947 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#7D9947 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D9947
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D9947 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D9947 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0903F
Deuteranopia (green-blind)
#9D8F4C
Tritanopia (blue-blind)
#829387
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #7d9947; /* rgb */ color: rgb(125, 153, 71); /* oklch */ color: oklch(64.3% 0.114 125.1);
Tailwind
colors: {
custom: {
50: '#a4b77c',
500: '#7d9947',
950: '#000000',
},
}SCSS
$custom: #7d9947; $custom-light: #a4b77c; $custom-dark: #000000;
JSON
{
"hex": "#7d9947",
"rgb": {
"r": 125,
"g": 153,
"b": 71
},
"hsl": {
"h": 80.488,
"s": 36.607,
"l": 43.922
},
"oklch": {
"l": 0.643,
"c": 0.11404,
"h": 125.1
},
"luminance": 0.27597
}Semantic roles & 50–950 ramp
primary
#7D9947
secondary
#9685B7
accent
#5BCD82
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C