#7C8A56#7C8A56
#7C8A56 is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.9% C 0.075 H 120.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8A56 |
|---|---|
| RGB | rgb(124, 138, 86) |
| HSL | hsl(76, 23%, 44%) |
| HSV | hsv(76, 38%, 54%) |
| CMYK | cmyk(10.1%, 0%, 37.7%, 45.9%) |
| CIE-LAB | lab(55.21, -14.18, 26.19) |
| CIE-LCH | lch(55.21, 29.78, 118.42°) |
| OKLab | oklab(60.89% -0.0387 0.0646) |
| OKLCH | oklch(60.89% 0.075 120.9) |
| XYZ | xyz(19.0803, 23.1340, 12.2624) |
| Luminance | 0.2313 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.14
Drab
#828344
ΔE00 5.47
Khaki Green
#728639
ΔE00 5.56
Drab Green
#749551
ΔE00 5.60
Moss Green
#8A9A5B
ΔE00 5.70
Swamp
#698339
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8A56 #64568A
analogous
#8A7E56 #7C8A56 #628A56
triadic
#7C8A56 #567C8A #8A567C
tetradic
#7C8A56 #568A7E #64568A #8A5662
square
#7C8A56 #568A7E #64568A #8A5662
split-complementary
#7C8A56 #56628A #7E568A
monochromatic
#383F27 #5A643F #7C8A56 #9BA975 #B6C09A
Accessibility & contrast
On white
3.73
#7C8A56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#7C8A56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8A56
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8A56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8A56 | 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)
#908452
Deuteranopia (green-blind)
#8E8458
Tritanopia (blue-blind)
#80857D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #7c8a56; /* rgb */ color: rgb(124, 138, 86); /* oklch */ color: oklch(60.9% 0.075 120.9);
Tailwind
colors: {
custom: {
50: '#a2ac86',
500: '#7c8a56',
950: '#000000',
},
}SCSS
$custom: #7c8a56; $custom-light: #a2ac86; $custom-dark: #000000;
JSON
{
"hex": "#7c8a56",
"rgb": {
"r": 124,
"g": 138,
"b": 86
},
"hsl": {
"h": 76.154,
"s": 23.214,
"l": 43.922
},
"oklch": {
"l": 0.60889,
"c": 0.07526,
"h": 120.9
},
"luminance": 0.23134
}Semantic roles & 50–950 ramp
primary
#7C8A56
secondary
#978EAE
accent
#68C080
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C