#7C875C#7C875C
#7C875C is a mid, moderate yellow-green. Relative luminance 0.224; OKLCH L 60.3% C 0.063 H 120.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7C875C |
|---|---|
| RGB | rgb(124, 135, 92) |
| HSL | hsl(75, 19%, 45%) |
| HSV | hsv(75, 32%, 53%) |
| CMYK | cmyk(8.1%, 0%, 31.9%, 47.1%) |
| CIE-LAB | lab(54.43, -11.71, 21.84) |
| CIE-LCH | lch(54.43, 24.78, 118.21°) |
| OKLab | oklab(60.3% -0.0315 0.0546) |
| OKLCH | oklch(60.3% 0.063 120) |
| XYZ | xyz(18.9078, 22.3858, 13.4479) |
| Luminance | 0.2239 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Camo
#7F8F4E
ΔE00 5.44
Drab
#828344
ΔE00 6.26
Green Grey
#77926F
ΔE00 6.42
Military Green
#667C3E
ΔE00 7.39
Khaki Green
#728639
ΔE00 7.43
Moss Green
#8A9A5B
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C875C #675C87
analogous
#877D5C #7C875C #67875C
triadic
#7C875C #5C7C87 #875C7C
tetradic
#7C875C #5C877D #675C87 #875C67
square
#7C875C #5C877D #675C87 #875C67
split-complementary
#7C875C #5C6787 #7D5C87
monochromatic
#393E2A #5B6343 #7C875C #9AA57B #B6BE9F
Accessibility & contrast
On white
3.83
#7C875C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#7C875C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C875C
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C875C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C875C | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C8259
Deuteranopia (green-blind)
#8B825E
Tritanopia (blue-blind)
#80837C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #7c875c; /* rgb */ color: rgb(124, 135, 92); /* oklch */ color: oklch(60.3% 0.063 120.0);
Tailwind
colors: {
custom: {
50: '#a2aa8a',
500: '#7c875c',
950: '#000000',
},
}SCSS
$custom: #7c875c; $custom-light: #a2aa8a; $custom-dark: #000000;
JSON
{
"hex": "#7c875c",
"rgb": {
"r": 124,
"g": 135,
"b": 92
},
"hsl": {
"h": 75.349,
"s": 18.943,
"l": 44.51
},
"oklch": {
"l": 0.60304,
"c": 0.06298,
"h": 120
},
"luminance": 0.22386
}Semantic roles & 50–950 ramp
primary
#7C875C
secondary
#9993AC
accent
#6CBC81
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F100C
muted
#7F7F7D