#7C8956#7C8956
#7C8956 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.7% C 0.074 H 120.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8956 |
|---|---|
| RGB | rgb(124, 137, 86) |
| HSL | hsl(75, 23%, 44%) |
| HSV | hsv(75, 37%, 54%) |
| CMYK | cmyk(9.5%, 0%, 37.2%, 46.3%) |
| CIE-LAB | lab(54.92, -13.64, 25.81) |
| CIE-LCH | lch(54.92, 29.19, 117.85°) |
| OKLab | oklab(60.65% -0.0372 0.0637) |
| OKLCH | oklch(60.65% 0.074 120.3) |
| XYZ | xyz(18.9375, 22.8483, 12.2148) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.46
Drab
#828344
ΔE00 5.28
Khaki Green
#728639
ΔE00 5.67
Drab Green
#749551
ΔE00 6.02
Moss Green
#8A9A5B
ΔE00 6.04
Swamp
#698339
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8956 #635689
analogous
#897C56 #7C8956 #628956
triadic
#7C8956 #567C89 #89567C
tetradic
#7C8956 #56897C #635689 #895662
square
#7C8956 #56897C #635689 #895662
split-complementary
#7C8956 #566289 #7C5689
monochromatic
#383E27 #5A633E #7C8956 #9BA874 #B6C09A
Accessibility & contrast
On white
3.77
#7C8956 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#7C8956 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8956
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8956 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8956 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8452
Deuteranopia (green-blind)
#8D8458
Tritanopia (blue-blind)
#80847C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #7c8956; /* rgb */ color: rgb(124, 137, 86); /* oklch */ color: oklch(60.7% 0.074 120.3);
Tailwind
colors: {
custom: {
50: '#a2ab86',
500: '#7c8956',
950: '#000000',
},
}SCSS
$custom: #7c8956; $custom-light: #a2ab86; $custom-dark: #000000;
JSON
{
"hex": "#7c8956",
"rgb": {
"r": 124,
"g": 137,
"b": 86
},
"hsl": {
"h": 75.294,
"s": 22.87,
"l": 43.725
},
"oklch": {
"l": 0.60654,
"c": 0.07374,
"h": 120.3
},
"luminance": 0.22848
}Semantic roles & 50–950 ramp
primary
#7C8956
secondary
#968EAD
accent
#68BF7F
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C