#7C8A52#7C8A52
#7C8A52 is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.080 H 120.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A52 |
|---|---|
| RGB | rgb(124, 138, 82) |
| HSL | hsl(75, 25%, 43%) |
| HSV | hsv(75, 41%, 54%) |
| CMYK | cmyk(10.1%, 0%, 40.6%, 45.9%) |
| CIE-LAB | lab(55.15, -14.70, 28.30) |
| CIE-LCH | lch(55.15, 31.89, 117.45°) |
| OKLab | oklab(60.82% -0.0404 0.0692) |
| OKLCH | oklch(60.82% 0.08 120.3) |
| XYZ | xyz(18.9237, 23.0713, 11.4373) |
| Luminance | 0.2307 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.40
Khaki Green
#728639
ΔE00 4.72
Drab
#828344
ΔE00 4.92
Drab Green
#749551
ΔE00 5.33
Moss Green
#8A9A5B
ΔE00 5.47
Swamp
#698339
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A52 #60528A
analogous
#8A7C52 #7C8A52 #608A52
triadic
#7C8A52 #527C8A #8A527C
tetradic
#7C8A52 #528A7C #60528A #8A5260
square
#7C8A52 #528A7C #60528A #8A5260
split-complementary
#7C8A52 #52608A #7C528A
monochromatic
#373D24 #5A643B #7C8A52 #9BAA6F #B6C196
Accessibility & contrast
On white
3.74
#7C8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#7C8A52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A52
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A52 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90844E
Deuteranopia (green-blind)
#8F8455
Tritanopia (blue-blind)
#81857C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a52; /* rgb */ color: rgb(124, 138, 82); /* oklch */ color: oklch(60.8% 0.080 120.3);
Tailwind
colors: {
custom: {
50: '#a3ac83',
500: '#7c8a52',
950: '#000000',
},
}SCSS
$custom: #7c8a52; $custom-light: #a3ac83; $custom-dark: #000000;
JSON
{
"hex": "#7c8a52",
"rgb": {
"r": 124,
"g": 138,
"b": 82
},
"hsl": {
"h": 75,
"s": 25.455,
"l": 43.137
},
"oklch": {
"l": 0.60817,
"c": 0.08017,
"h": 120.3
},
"luminance": 0.23071
}Semantic roles & 50–950 ramp
primary
#7C8A52
secondary
#938AAE
accent
#66C27D
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C