#7C8B5B#7C8B5B
#7C8B5B is a mid, moderate yellow-green. Relative luminance 0.235; OKLCH L 61.2% C 0.071 H 122.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8B5B |
|---|---|
| RGB | rgb(124, 139, 91) |
| HSL | hsl(79, 21%, 45%) |
| HSV | hsv(79, 35%, 55%) |
| CMYK | cmyk(10.8%, 0%, 34.5%, 45.5%) |
| CIE-LAB | lab(55.59, -14.02, 23.93) |
| CIE-LCH | lch(55.59, 27.73, 120.36°) |
| OKLab | oklab(61.22% -0.038 0.0595) |
| OKLCH | oklch(61.22% 0.071 122.6) |
| XYZ | xyz(19.4330, 23.5056, 13.4088) |
| Luminance | 0.2351 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 3.97
Drab Green
#749551
ΔE00 5.78
Green Grey
#77926F
ΔE00 5.80
Moss Green
#8A9A5B
ΔE00 5.87
Moss
#769958
ΔE00 6.32
Drab
#828344
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8B5B #6A5B8B
analogous
#8B825B #7C8B5B #648B5B
triadic
#7C8B5B #5B7C8B #8B5B7C
tetradic
#7C8B5B #5B8B82 #6A5B8B #8B5B64
square
#7C8B5B #5B8B82 #6A5B8B #8B5B64
split-complementary
#7C8B5B #5B648B #825B8B
monochromatic
#3A412B #5B6643 #7C8B5B #9AA87B #B6C1A0
Accessibility & contrast
On white
3.68
#7C8B5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#7C8B5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8B5B
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8B5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8B5B | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918558
Deuteranopia (green-blind)
#8E855D
Tritanopia (blue-blind)
#80867F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #7c8b5b; /* rgb */ color: rgb(124, 139, 91); /* oklch */ color: oklch(61.2% 0.071 122.6);
Tailwind
colors: {
custom: {
50: '#a2ac8a',
500: '#7c8b5b',
950: '#000000',
},
}SCSS
$custom: #7c8b5b; $custom-light: #a2ac8a; $custom-dark: #000000;
JSON
{
"hex": "#7c8b5b",
"rgb": {
"r": 124,
"g": 139,
"b": 91
},
"hsl": {
"h": 78.75,
"s": 20.87,
"l": 45.098
},
"oklch": {
"l": 0.6122,
"c": 0.07057,
"h": 122.6
},
"luminance": 0.23506
}Semantic roles & 50–950 ramp
primary
#7C8B5B
secondary
#9C93AF
accent
#6ABD84
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100B
muted
#7F7F7C