#7C8A47#7C8A47
#7C8A47 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.093 H 119.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A47 |
|---|---|
| RGB | rgb(124, 138, 71) |
| HSL | hsl(73, 32%, 41%) |
| HSV | hsv(73, 49%, 54%) |
| CMYK | cmyk(10.1%, 0%, 48.6%, 45.9%) |
| CIE-LAB | lab(54.99, -16.01, 33.98) |
| CIE-LCH | lch(54.99, 37.56, 115.23°) |
| OKLab | oklab(60.64% -0.045 0.0813) |
| OKLCH | oklch(60.64% 0.093 119) |
| XYZ | xyz(18.5381, 22.9171, 9.4068) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.88
Khaki Green
#728639
ΔE00 2.95
Drab
#828344
ΔE00 4.16
Swamp
#698339
ΔE00 4.69
Drab Green
#749551
ΔE00 5.42
Moss Green
#8A9A5B
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A47 #55478A
analogous
#8A7647 #7C8A47 #5A8A47
triadic
#7C8A47 #477C8A #8A477C
tetradic
#7C8A47 #478A76 #55478A #8A475A
square
#7C8A47 #478A76 #55478A #8A475A
split-complementary
#7C8A47 #475A8A #76478A
monochromatic
#33391D #586232 #7C8A47 #9DAE61 #B6C289
Accessibility & contrast
On white
3.76
#7C8A47 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#7C8A47 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A47
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A47 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928441
Deuteranopia (green-blind)
#90844B
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a47; /* rgb */ color: rgb(124, 138, 71); /* oklch */ color: oklch(60.6% 0.093 119.0);
Tailwind
colors: {
custom: {
50: '#a3ac7c',
500: '#7c8a47',
950: '#000000',
},
}SCSS
$custom: #7c8a47; $custom-light: #a3ac7c; $custom-dark: #000000;
JSON
{
"hex": "#7c8a47",
"rgb": {
"r": 124,
"g": 138,
"b": 71
},
"hsl": {
"h": 72.537,
"s": 32.057,
"l": 40.98
},
"oklch": {
"l": 0.60638,
"c": 0.09294,
"h": 119
},
"luminance": 0.22917
}Semantic roles & 50–950 ramp
primary
#7C8A47
secondary
#897FAE
accent
#60C875
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B