#7C8A50#7C8A50
#7C8A50 is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.8% C 0.083 H 120.0°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A50 |
|---|---|
| RGB | rgb(124, 138, 80) |
| HSL | hsl(74, 27%, 43%) |
| HSV | hsv(74, 42%, 54%) |
| CMYK | cmyk(10.1%, 0%, 42%, 45.9%) |
| CIE-LAB | lab(55.11, -14.95, 29.34) |
| CIE-LCH | lch(55.11, 32.94, 117.00°) |
| OKLab | oklab(60.78% -0.0413 0.0715) |
| OKLCH | oklch(60.78% 0.083 120) |
| XYZ | xyz(18.8487, 23.0413, 11.0423) |
| Luminance | 0.2304 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.11
Khaki Green
#728639
ΔE00 4.34
Drab
#828344
ΔE00 4.69
Drab Green
#749551
ΔE00 5.25
Swamp
#698339
ΔE00 5.38
Moss Green
#8A9A5B
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A50 #5E508A
analogous
#8A7B50 #7C8A50 #5F8A50
triadic
#7C8A50 #507C8A #8A507C
tetradic
#7C8A50 #508A7B #5E508A #8A505F
square
#7C8A50 #508A7B #5E508A #8A505F
split-complementary
#7C8A50 #505F8A #7B508A
monochromatic
#363D23 #59633A #7C8A50 #9BAA6D #B6C194
Accessibility & contrast
On white
3.74
#7C8A50 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#7C8A50 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A50
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A50 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A50 | 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)
#91844C
Deuteranopia (green-blind)
#8F8453
Tritanopia (blue-blind)
#81847C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a50; /* rgb */ color: rgb(124, 138, 80); /* oklch */ color: oklch(60.8% 0.083 120.0);
Tailwind
colors: {
custom: {
50: '#a3ac82',
500: '#7c8a50',
950: '#000000',
},
}SCSS
$custom: #7c8a50; $custom-light: #a3ac82; $custom-dark: #000000;
JSON
{
"hex": "#7c8a50",
"rgb": {
"r": 124,
"g": 138,
"b": 80
},
"hsl": {
"h": 74.483,
"s": 26.606,
"l": 42.745
},
"oklch": {
"l": 0.60782,
"c": 0.08257,
"h": 120
},
"luminance": 0.23041
}Semantic roles & 50–950 ramp
primary
#7C8A50
secondary
#9188AE
accent
#65C37C
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100A
muted
#7F7F7C