#7C8A57#7C8A57
#7C8A57 is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.9% C 0.074 H 121.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A57 |
|---|---|
| RGB | rgb(124, 138, 87) |
| HSL | hsl(76, 23%, 44%) |
| HSV | hsv(76, 37%, 54%) |
| CMYK | cmyk(10.1%, 0%, 37%, 45.9%) |
| CIE-LAB | lab(55.23, -14.04, 25.66) |
| CIE-LCH | lch(55.23, 29.25, 118.68°) |
| OKLab | oklab(60.91% -0.0383 0.0634) |
| OKLCH | oklch(60.91% 0.074 121.1) |
| XYZ | xyz(19.1209, 23.1502, 12.4761) |
| Luminance | 0.2315 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.34
Drab
#828344
ΔE00 5.62
Drab Green
#749551
ΔE00 5.70
Moss Green
#8A9A5B
ΔE00 5.78
Khaki Green
#728639
ΔE00 5.78
Swamp
#698339
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A57 #65578A
analogous
#8A7F57 #7C8A57 #638A57
triadic
#7C8A57 #577C8A #8A577C
tetradic
#7C8A57 #578A7F #65578A #8A5763
square
#7C8A57 #578A7F #65578A #8A5763
split-complementary
#7C8A57 #57638A #7F578A
monochromatic
#393F28 #5A643F #7C8A57 #9BA876 #B6C09B
Accessibility & contrast
On white
3.73
#7C8A57 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#7C8A57 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A57
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A57 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A57 | 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)
#908453
Deuteranopia (green-blind)
#8E8459
Tritanopia (blue-blind)
#80857D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a57; /* rgb */ color: rgb(124, 138, 87); /* oklch */ color: oklch(60.9% 0.074 121.1);
Tailwind
colors: {
custom: {
50: '#a2ac87',
500: '#7c8a57',
950: '#000000',
},
}SCSS
$custom: #7c8a57; $custom-light: #a2ac87; $custom-dark: #000000;
JSON
{
"hex": "#7c8a57",
"rgb": {
"r": 124,
"g": 138,
"b": 87
},
"hsl": {
"h": 76.471,
"s": 22.667,
"l": 44.118
},
"oklch": {
"l": 0.60908,
"c": 0.07403,
"h": 121.1
},
"luminance": 0.2315
}Semantic roles & 50–950 ramp
primary
#7C8A57
secondary
#978FAE
accent
#69BF80
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C