#7C8A48#7C8A48
#7C8A48 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.7% C 0.092 H 119.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A48 |
|---|---|
| RGB | rgb(124, 138, 72) |
| HSL | hsl(73, 31%, 41%) |
| HSV | hsv(73, 48%, 54%) |
| CMYK | cmyk(10.1%, 0%, 47.8%, 45.9%) |
| CIE-LAB | lab(55.00, -15.90, 33.47) |
| CIE-LCH | lch(55.00, 37.05, 115.41°) |
| OKLab | oklab(60.65% -0.0446 0.0803) |
| OKLCH | oklch(60.65% 0.092 119.1) |
| XYZ | xyz(18.5705, 22.9300, 9.5773) |
| Luminance | 0.2293 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.81
Khaki Green
#728639
ΔE00 3.07
Drab
#828344
ΔE00 4.18
Swamp
#698339
ΔE00 4.73
Drab Green
#749551
ΔE00 5.36
Moss Green
#8A9A5B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A48 #56488A
analogous
#8A7748 #7C8A48 #5B8A48
triadic
#7C8A48 #487C8A #8A487C
tetradic
#7C8A48 #488A77 #56488A #8A485B
square
#7C8A48 #488A77 #56488A #8A485B
split-complementary
#7C8A48 #485B8A #77488A
monochromatic
#343A1E #586233 #7C8A48 #9DAD62 #B6C28A
Accessibility & contrast
On white
3.76
#7C8A48 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#7C8A48 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A48
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A48 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918442
Deuteranopia (green-blind)
#90844C
Tritanopia (blue-blind)
#82847B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a48; /* rgb */ color: rgb(124, 138, 72); /* oklch */ color: oklch(60.7% 0.092 119.1);
Tailwind
colors: {
custom: {
50: '#a3ac7c',
500: '#7c8a48',
950: '#000000',
},
}SCSS
$custom: #7c8a48; $custom-light: #a3ac7c; $custom-dark: #000000;
JSON
{
"hex": "#7c8a48",
"rgb": {
"r": 124,
"g": 138,
"b": 72
},
"hsl": {
"h": 72.727,
"s": 31.429,
"l": 41.176
},
"oklch": {
"l": 0.60653,
"c": 0.09183,
"h": 119.1
},
"luminance": 0.2293
}Semantic roles & 50–950 ramp
primary
#7C8A48
secondary
#8A80AE
accent
#60C876
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B