#7C8A62#7C8A62
#7C8A62 is a mid, muted yellow-green. Relative luminance 0.233; OKLCH L 61.1% C 0.060 H 123.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A62 |
|---|---|
| RGB | rgb(124, 138, 98) |
| HSL | hsl(81, 17%, 46%) |
| HSV | hsv(81, 29%, 54%) |
| CMYK | cmyk(10.1%, 0%, 29%, 45.9%) |
| CIE-LAB | lab(55.42, -12.44, 19.79) |
| CIE-LCH | lch(55.42, 23.38, 122.15°) |
| OKLab | oklab(61.13% -0.0334 0.0498) |
| OKLCH | oklch(61.13% 0.06 123.8) |
| XYZ | xyz(19.6050, 23.3438, 15.0259) |
| Luminance | 0.2334 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Grey
#77926F
ΔE00 4.81
Camo
#7F8F4E
ΔE00 6.01
Moss Green
#8A9A5B
ΔE00 7.33
Drab Green
#749551
ΔE00 7.42
Moss
#769958
ΔE00 7.69
Slate Green
#658D6D
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A62 #70628A
analogous
#8A8462 #7C8A62 #688A62
triadic
#7C8A62 #627C8A #8A627C
tetradic
#7C8A62 #628A84 #70628A #8A6268
square
#7C8A62 #628A84 #70628A #8A6268
split-complementary
#7C8A62 #62688A #84628A
monochromatic
#3C422F #5C6649 #7C8A62 #9AA783 #B7C0A6
Accessibility & contrast
On white
3.70
#7C8A62 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#7C8A62 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A62
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A62 | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F855F
Deuteranopia (green-blind)
#8D8564
Tritanopia (blue-blind)
#7F867F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #7c8a62; /* rgb */ color: rgb(124, 138, 98); /* oklch */ color: oklch(61.1% 0.060 123.8);
Tailwind
colors: {
custom: {
50: '#a2ac8f',
500: '#7c8a62',
950: '#000000',
},
}SCSS
$custom: #7c8a62; $custom-light: #a2ac8f; $custom-dark: #000000;
JSON
{
"hex": "#7c8a62",
"rgb": {
"r": 124,
"g": 138,
"b": 98
},
"hsl": {
"h": 81,
"s": 16.949,
"l": 46.275
},
"oklch": {
"l": 0.61131,
"c": 0.05995,
"h": 123.8
},
"luminance": 0.23344
}Semantic roles & 50–950 ramp
primary
#7C8A62
secondary
#A199AF
accent
#6EBA89
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D