#7C8952#7C8952
#7C8952 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.6% C 0.079 H 119.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8952 |
|---|---|
| RGB | rgb(124, 137, 82) |
| HSL | hsl(74, 25%, 43%) |
| HSV | hsv(74, 40%, 54%) |
| CMYK | cmyk(9.5%, 0%, 40.1%, 46.3%) |
| CIE-LAB | lab(54.85, -14.17, 27.92) |
| CIE-LCH | lch(54.85, 31.31, 116.90°) |
| OKLab | oklab(60.58% -0.0389 0.0684) |
| OKLCH | oklch(60.58% 0.079 119.7) |
| XYZ | xyz(18.7808, 22.7857, 11.3897) |
| Luminance | 0.2279 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.76
Drab
#828344
ΔE00 4.68
Khaki Green
#728639
ΔE00 4.82
Swamp
#698339
ΔE00 5.69
Drab Green
#749551
ΔE00 5.73
Moss Green
#8A9A5B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8952 #5F5289
analogous
#897A52 #7C8952 #608952
triadic
#7C8952 #527C89 #89527C
tetradic
#7C8952 #52897A #5F5289 #895260
square
#7C8952 #52897A #5F5289 #895260
split-complementary
#7C8952 #526089 #7A5289
monochromatic
#373C24 #59633B #7C8952 #9BA96F #B6C096
Accessibility & contrast
On white
3.78
#7C8952 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#7C8952 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8952
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8952 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#8E8355
Tritanopia (blue-blind)
#81847B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7c8952; /* rgb */ color: rgb(124, 137, 82); /* oklch */ color: oklch(60.6% 0.079 119.7);
Tailwind
colors: {
custom: {
50: '#a3ab83',
500: '#7c8952',
950: '#000000',
},
}SCSS
$custom: #7c8952; $custom-light: #a3ab83; $custom-dark: #000000;
JSON
{
"hex": "#7c8952",
"rgb": {
"r": 124,
"g": 137,
"b": 82
},
"hsl": {
"h": 74.182,
"s": 25.114,
"l": 42.941
},
"oklch": {
"l": 0.60581,
"c": 0.07866,
"h": 119.7
},
"luminance": 0.22786
}Semantic roles & 50–950 ramp
primary
#7C8952
secondary
#928AAD
accent
#66C27C
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C