#7C8A4C#7C8A4C
#7C8A4C is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.7% C 0.087 H 119.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A4C |
|---|---|
| RGB | rgb(124, 138, 76) |
| HSL | hsl(74, 29%, 42%) |
| HSV | hsv(74, 45%, 54%) |
| CMYK | cmyk(10.1%, 0%, 44.9%, 45.9%) |
| CIE-LAB | lab(55.06, -15.44, 31.42) |
| CIE-LCH | lch(55.06, 35.01, 116.17°) |
| OKLab | oklab(60.72% -0.043 0.076) |
| OKLCH | oklch(60.72% 0.087 119.5) |
| XYZ | xyz(18.7052, 22.9839, 10.2870) |
| Luminance | 0.2298 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 1.76
Khaki Green
#728639
ΔE00 3.64
Drab
#828344
ΔE00 4.36
Swamp
#698339
ΔE00 4.98
Drab Green
#749551
ΔE00 5.24
Moss Green
#8A9A5B
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A4C #5A4C8A
analogous
#8A794C #7C8A4C #5D8A4C
triadic
#7C8A4C #4C7C8A #8A4C7C
tetradic
#7C8A4C #4C8A79 #5A4C8A #8A4C5D
square
#7C8A4C #4C8A79 #5A4C8A #8A4C5D
split-complementary
#7C8A4C #4C5D8A #794C8A
monochromatic
#353B21 #596336 #7C8A4C #9CAC68 #B6C18F
Accessibility & contrast
On white
3.75
#7C8A4C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#7C8A4C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A4C
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A4C | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918447
Deuteranopia (green-blind)
#8F844F
Tritanopia (blue-blind)
#81847B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a4c; /* rgb */ color: rgb(124, 138, 76); /* oklch */ color: oklch(60.7% 0.087 119.5);
Tailwind
colors: {
custom: {
50: '#a3ac7f',
500: '#7c8a4c',
950: '#000000',
},
}SCSS
$custom: #7c8a4c; $custom-light: #a3ac7f; $custom-dark: #000000;
JSON
{
"hex": "#7c8a4c",
"rgb": {
"r": 124,
"g": 138,
"b": 76
},
"hsl": {
"h": 73.548,
"s": 28.972,
"l": 41.961
},
"oklch": {
"l": 0.60716,
"c": 0.08727,
"h": 119.5
},
"luminance": 0.22984
}Semantic roles & 50–950 ramp
primary
#7C8A4C
secondary
#8E84AE
accent
#63C579
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C