#7C875F#7C875F
#7C875F is a mid, muted yellow-green. Relative luminance 0.224; OKLCH L 60.4% C 0.059 H 120.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7C875F |
|---|---|
| RGB | rgb(124, 135, 95) |
| HSL | hsl(77, 17%, 45%) |
| HSV | hsv(77, 30%, 53%) |
| CMYK | cmyk(8.1%, 0%, 29.6%, 47.1%) |
| CIE-LAB | lab(54.49, -11.27, 20.22) |
| CIE-LCH | lch(54.49, 23.15, 119.13°) |
| OKLab | oklab(60.37% -0.0301 0.0508) |
| OKLCH | oklch(60.37% 0.059 120.7) |
| XYZ | xyz(19.0416, 22.4393, 14.1523) |
| Luminance | 0.2244 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Grey
#77926F
ΔE00 6.06
Camo
#7F8F4E
ΔE00 6.17
Drab
#828344
ΔE00 6.97
Moss Green
#8A9A5B
ΔE00 7.91
Military Green
#667C3E
ΔE00 7.92
Drab Green
#749551
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C875F #6A5F87
analogous
#877E5F #7C875F #68875F
triadic
#7C875F #5F7C87 #875F7C
tetradic
#7C875F #5F877E #6A5F87 #875F68
square
#7C875F #5F877E #6A5F87 #875F68
split-complementary
#7C875F #5F6887 #7E5F87
monochromatic
#3A3F2C #5B6346 #7C875F #9AA57F #B6BEA2
Accessibility & contrast
On white
3.83
#7C875F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.49
#7C875F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C875F
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C875F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C875F | 1.00 | 3.83 | 5.49 | 5.49 |
| #FFFFFF | 3.83 | 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)
#8C825C
Deuteranopia (green-blind)
#8B8261
Tritanopia (blue-blind)
#7F837C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7c875f; /* rgb */ color: rgb(124, 135, 95); /* oklch */ color: oklch(60.4% 0.059 120.7);
Tailwind
colors: {
custom: {
50: '#a2aa8c',
500: '#7c875f',
950: '#000000',
},
}SCSS
$custom: #7c875f; $custom-light: #a2aa8c; $custom-dark: #000000;
JSON
{
"hex": "#7c875f",
"rgb": {
"r": 124,
"g": 135,
"b": 95
},
"hsl": {
"h": 76.5,
"s": 17.391,
"l": 45.098
},
"oklch": {
"l": 0.60367,
"c": 0.05905,
"h": 120.7
},
"luminance": 0.22439
}Semantic roles & 50–950 ramp
primary
#7C875F
secondary
#9C95AC
accent
#6EBA83
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D