#7C8B55#7C8B55
#7C8B55 is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.1% C 0.078 H 121.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8B55 |
|---|---|
| RGB | rgb(124, 139, 85) |
| HSL | hsl(77, 24%, 44%) |
| HSV | hsv(77, 39%, 55%) |
| CMYK | cmyk(10.8%, 0%, 38.8%, 45.5%) |
| CIE-LAB | lab(55.49, -14.84, 27.10) |
| CIE-LCH | lch(55.49, 30.90, 118.71°) |
| OKLab | oklab(61.11% -0.0406 0.0666) |
| OKLCH | oklch(61.11% 0.078 121.4) |
| XYZ | xyz(19.1844, 23.4062, 12.0997) |
| Luminance | 0.2341 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.63
Drab Green
#749551
ΔE00 5.11
Khaki Green
#728639
ΔE00 5.27
Moss Green
#8A9A5B
ΔE00 5.29
Drab
#828344
ΔE00 5.54
Moss
#769958
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8B55 #64558B
analogous
#8B7F55 #7C8B55 #618B55
triadic
#7C8B55 #557C8B #8B557C
tetradic
#7C8B55 #558B7F #64558B #8B5561
square
#7C8B55 #558B7F #64558B #8B5561
split-complementary
#7C8B55 #55618B #7F558B
monochromatic
#383F27 #5A653E #7C8B55 #9BAA74 #B6C199
Accessibility & contrast
On white
3.70
#7C8B55 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#7C8B55 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8B55
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8B55 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8B55 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918551
Deuteranopia (green-blind)
#8F8558
Tritanopia (blue-blind)
#80867E
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #7c8b55; /* rgb */ color: rgb(124, 139, 85); /* oklch */ color: oklch(61.1% 0.078 121.4);
Tailwind
colors: {
custom: {
50: '#a3ac85',
500: '#7c8b55',
950: '#000000',
},
}SCSS
$custom: #7c8b55; $custom-light: #a3ac85; $custom-dark: #000000;
JSON
{
"hex": "#7c8b55",
"rgb": {
"r": 124,
"g": 139,
"b": 85
},
"hsl": {
"h": 76.667,
"s": 24.107,
"l": 43.922
},
"oklch": {
"l": 0.61106,
"c": 0.07803,
"h": 121.4
},
"luminance": 0.23406
}Semantic roles & 50–950 ramp
primary
#7C8B55
secondary
#978EAE
accent
#67C180
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C