#7C8850#7C8850
#7C8850 is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.3% C 0.080 H 118.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7C8850 |
|---|---|
| RGB | rgb(124, 136, 80) |
| HSL | hsl(73, 26%, 42%) |
| HSV | hsv(73, 41%, 53%) |
| CMYK | cmyk(8.8%, 0%, 41.2%, 46.7%) |
| CIE-LAB | lab(54.52, -13.88, 28.60) |
| CIE-LCH | lch(54.52, 31.79, 115.90°) |
| OKLab | oklab(60.31% -0.0383 0.0698) |
| OKLCH | oklch(60.31% 0.08 118.7) |
| XYZ | xyz(18.5644, 22.4727, 10.9475) |
| Luminance | 0.2247 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 2.87
Drab
#828344
ΔE00 4.20
Khaki Green
#728639
ΔE00 4.54
Swamp
#698339
ΔE00 5.50
Drab Green
#749551
ΔE00 6.06
Moss Green
#8A9A5B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C8850 #5C5088
analogous
#887850 #7C8850 #608850
triadic
#7C8850 #507C88 #88507C
tetradic
#7C8850 #508878 #5C5088 #885060
square
#7C8850 #508878 #5C5088 #885060
split-complementary
#7C8850 #506088 #785088
monochromatic
#363B23 #596139 #7C8850 #9CA96C #B6BF93
Accessibility & contrast
On white
3.82
#7C8850 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#7C8850 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C8850
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C8850 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C8850 | 1.00 | 3.82 | 5.49 | 5.49 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F824C
Deuteranopia (green-blind)
#8D8353
Tritanopia (blue-blind)
#81837A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7c8850; /* rgb */ color: rgb(124, 136, 80); /* oklch */ color: oklch(60.3% 0.080 118.7);
Tailwind
colors: {
custom: {
50: '#a3aa82',
500: '#7c8850',
950: '#000000',
},
}SCSS
$custom: #7c8850; $custom-light: #a3aa82; $custom-dark: #000000;
JSON
{
"hex": "#7c8850",
"rgb": {
"r": 124,
"g": 136,
"b": 80
},
"hsl": {
"h": 72.857,
"s": 25.926,
"l": 42.353
},
"oklch": {
"l": 0.6031,
"c": 0.0796,
"h": 118.7
},
"luminance": 0.22473
}Semantic roles & 50–950 ramp
primary
#7C8850
secondary
#8F88AC
accent
#65C279
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100A
muted
#7F7F7C