#7C8A49#7C8A49
#7C8A49 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.7% C 0.091 H 119.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A49 |
|---|---|
| RGB | rgb(124, 138, 73) |
| HSL | hsl(73, 31%, 41%) |
| HSV | hsv(73, 47%, 54%) |
| CMYK | cmyk(10.1%, 0%, 47.1%, 45.9%) |
| CIE-LAB | lab(55.01, -15.79, 32.96) |
| CIE-LCH | lch(55.01, 36.55, 115.60°) |
| OKLab | oklab(60.67% -0.0442 0.0792) |
| OKLCH | oklch(60.67% 0.091 119.2) |
| XYZ | xyz(18.6034, 22.9432, 9.7505) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.76
Khaki Green
#728639
ΔE00 3.20
Drab
#828344
ΔE00 4.21
Swamp
#698339
ΔE00 4.77
Drab Green
#749551
ΔE00 5.32
Moss Green
#8A9A5B
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A49 #57498A
analogous
#8A7849 #7C8A49 #5C8A49
triadic
#7C8A49 #497C8A #8A497C
tetradic
#7C8A49 #498A78 #57498A #8A495C
square
#7C8A49 #498A78 #57498A #8A495C
split-complementary
#7C8A49 #495C8A #78498A
monochromatic
#343A1F #586234 #7C8A49 #9DAD63 #B6C28B
Accessibility & contrast
On white
3.76
#7C8A49 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#7C8A49 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A49
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A49 | 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)
#918444
Deuteranopia (green-blind)
#90844C
Tritanopia (blue-blind)
#82847B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a49; /* rgb */ color: rgb(124, 138, 73); /* oklch */ color: oklch(60.7% 0.091 119.2);
Tailwind
colors: {
custom: {
50: '#a3ac7d',
500: '#7c8a49',
950: '#000000',
},
}SCSS
$custom: #7c8a49; $custom-light: #a3ac7d; $custom-dark: #000000;
JSON
{
"hex": "#7c8a49",
"rgb": {
"r": 124,
"g": 138,
"b": 73
},
"hsl": {
"h": 72.923,
"s": 30.806,
"l": 41.373
},
"oklch": {
"l": 0.60668,
"c": 0.0907,
"h": 119.2
},
"luminance": 0.22943
}Semantic roles & 50–950 ramp
primary
#7C8A49
secondary
#8B81AE
accent
#61C777
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C