#7C8D4A#7C8D4A
#7C8D4A is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.4% C 0.094 H 120.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8D4A |
|---|---|
| RGB | rgb(124, 141, 74) |
| HSL | hsl(75, 31%, 42%) |
| HSV | hsv(75, 48%, 55%) |
| CMYK | cmyk(12.1%, 0%, 47.5%, 44.7%) |
| CIE-LAB | lab(55.92, -17.26, 33.54) |
| CIE-LCH | lch(55.92, 37.72, 117.22°) |
| OKLab | oklab(61.4% -0.0483 0.0806) |
| OKLCH | oklch(61.4% 0.094 120.9) |
| XYZ | xyz(19.0732, 23.8293, 10.0719) |
| Luminance | 0.2383 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 0.93
Khaki Green
#728639
ΔE00 3.49
Drab Green
#749551
ΔE00 4.27
Moss Green
#8A9A5B
ΔE00 4.69
Swamp
#698339
ΔE00 5.03
Drab
#828344
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8D4A #5B4A8D
analogous
#8D7D4A #7C8D4A #5B8D4A
triadic
#7C8D4A #4A7C8D #8D4A7C
tetradic
#7C8D4A #4A8D7D #5B4A8D #8D4A5B
square
#7C8D4A #4A8D7D #5B4A8D #8D4A5B
split-complementary
#7C8D4A #4A5B8D #7D4A8D
monochromatic
#353D20 #596535 #7C8D4A #9CAF66 #B6C48E
Accessibility & contrast
On white
3.64
#7C8D4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#7C8D4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8D4A
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8D4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8D4A | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948644
Deuteranopia (green-blind)
#92864E
Tritanopia (blue-blind)
#81877D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #7c8d4a; /* rgb */ color: rgb(124, 141, 74); /* oklch */ color: oklch(61.4% 0.094 120.9);
Tailwind
colors: {
custom: {
50: '#a3ae7e',
500: '#7c8d4a',
950: '#000000',
},
}SCSS
$custom: #7c8d4a; $custom-light: #a3ae7e; $custom-dark: #000000;
JSON
{
"hex": "#7c8d4a",
"rgb": {
"r": 124,
"g": 141,
"b": 74
},
"hsl": {
"h": 75.224,
"s": 31.163,
"l": 42.157
},
"oklch": {
"l": 0.61396,
"c": 0.09392,
"h": 120.9
},
"luminance": 0.23829
}Semantic roles & 50–950 ramp
primary
#7C8D4A
secondary
#8E83B0
accent
#60C77B
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C