#7C8E5B#7C8E5B
#7C8E5B is a mid, moderate yellow-green. Relative luminance 0.244; OKLCH L 61.9% C 0.075 H 124.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8E5B |
|---|---|
| RGB | rgb(124, 142, 91) |
| HSL | hsl(81, 22%, 46%) |
| HSV | hsv(81, 36%, 56%) |
| CMYK | cmyk(12.7%, 0%, 35.9%, 44.3%) |
| CIE-LAB | lab(56.47, -15.62, 25.09) |
| CIE-LCH | lch(56.47, 29.55, 121.90°) |
| OKLab | oklab(61.93% -0.0425 0.0622) |
| OKLCH | oklch(61.93% 0.075 124.4) |
| XYZ | xyz(19.8733, 24.3863, 13.5556) |
| Luminance | 0.2439 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.37
Drab Green
#749551
ΔE00 4.61
Moss Green
#8A9A5B
ΔE00 4.93
Moss
#769958
ΔE00 5.07
Green Grey
#77926F
ΔE00 5.60
Khaki Green
#728639
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8E5B #6D5B8E
analogous
#8E865B #7C8E5B #638E5B
triadic
#7C8E5B #5B7C8E #8E5B7C
tetradic
#7C8E5B #5B8E86 #6D5B8E #8E5B63
square
#7C8E5B #5B8E86 #6D5B8E #8E5B63
split-complementary
#7C8E5B #5B638E #865B8E
monochromatic
#3B432B #5B6943 #7C8E5B #9AAB7B #B7C3A1
Accessibility & contrast
On white
3.57
#7C8E5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#7C8E5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8E5B
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8E5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8E5B | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948857
Deuteranopia (green-blind)
#91875D
Tritanopia (blue-blind)
#7F8981
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #7c8e5b; /* rgb */ color: rgb(124, 142, 91); /* oklch */ color: oklch(61.9% 0.075 124.4);
Tailwind
colors: {
custom: {
50: '#a2af8a',
500: '#7c8e5b',
950: '#000000',
},
}SCSS
$custom: #7c8e5b; $custom-light: #a2af8a; $custom-dark: #000000;
JSON
{
"hex": "#7c8e5b",
"rgb": {
"r": 124,
"g": 142,
"b": 91
},
"hsl": {
"h": 81.176,
"s": 21.888,
"l": 45.686
},
"oklch": {
"l": 0.61926,
"c": 0.07532,
"h": 124.4
},
"luminance": 0.24386
}Semantic roles & 50–950 ramp
primary
#7C8E5B
secondary
#9E94B1
accent
#69BE87
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C