#7C8A58#7C8A58
#7C8A58 is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.9% C 0.073 H 121.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A58 |
|---|---|
| RGB | rgb(124, 138, 88) |
| HSL | hsl(77, 22%, 44%) |
| HSV | hsv(77, 36%, 54%) |
| CMYK | cmyk(10.1%, 0%, 36.2%, 45.9%) |
| CIE-LAB | lab(55.24, -13.90, 25.13) |
| CIE-LCH | lch(55.24, 28.72, 118.95°) |
| OKLab | oklab(60.93% -0.0378 0.0622) |
| OKLCH | oklch(60.93% 0.073 121.3) |
| XYZ | xyz(19.1620, 23.1666, 12.6927) |
| Luminance | 0.2317 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.56
Drab
#828344
ΔE00 5.79
Drab Green
#749551
ΔE00 5.81
Moss Green
#8A9A5B
ΔE00 5.87
Khaki Green
#728639
ΔE00 6.01
Moss
#769958
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A58 #66588A
analogous
#8A7F58 #7C8A58 #638A58
triadic
#7C8A58 #587C8A #8A587C
tetradic
#7C8A58 #588A7F #66588A #8A5863
square
#7C8A58 #588A7F #66588A #8A5863
split-complementary
#7C8A58 #58638A #7F588A
monochromatic
#393F28 #5A6540 #7C8A58 #9AA877 #B6C09C
Accessibility & contrast
On white
3.73
#7C8A58 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#7C8A58 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A58
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A58 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A58 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908454
Deuteranopia (green-blind)
#8E845A
Tritanopia (blue-blind)
#80857D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a58; /* rgb */ color: rgb(124, 138, 88); /* oklch */ color: oklch(60.9% 0.073 121.3);
Tailwind
colors: {
custom: {
50: '#a2ac87',
500: '#7c8a58',
950: '#000000',
},
}SCSS
$custom: #7c8a58; $custom-light: #a2ac87; $custom-dark: #000000;
JSON
{
"hex": "#7c8a58",
"rgb": {
"r": 124,
"g": 138,
"b": 88
},
"hsl": {
"h": 76.8,
"s": 22.124,
"l": 44.314
},
"oklch": {
"l": 0.60927,
"c": 0.07278,
"h": 121.3
},
"luminance": 0.23167
}Semantic roles & 50–950 ramp
primary
#7C8A58
secondary
#9890AE
accent
#69BF81
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F100B
muted
#7F7F7C