#7C845F#7C845F
#7C845F is a mid, muted yellow-green. Relative luminance 0.216; OKLCH L 59.7% C 0.054 H 118.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7C845F |
|---|---|
| RGB | rgb(124, 132, 95) |
| HSL | hsl(73, 16%, 45%) |
| HSV | hsv(73, 28%, 52%) |
| CMYK | cmyk(6.1%, 0%, 28%, 48.2%) |
| CIE-LAB | lab(53.61, -9.63, 19.04) |
| CIE-LCH | lch(53.61, 21.34, 116.82°) |
| OKLab | oklab(59.67% -0.0255 0.048) |
| OKLCH | oklch(59.67% 0.054 118) |
| XYZ | xyz(18.6289, 21.6139, 14.0148) |
| Luminance | 0.2161 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Drab
#828344
ΔE00 7.07
Green Grey
#77926F
ΔE00 7.16
Camo
#7F8F4E
ΔE00 7.30
Military Green
#667C3E
ΔE00 8.22
Brown Grey
#8D8468
ΔE00 8.27
Khaki Green
#728639
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C845F #675F84
analogous
#847A5F #7C845F #6A845F
triadic
#7C845F #5F7C84 #845F7C
tetradic
#7C845F #5F847A #675F84 #845F6A
square
#7C845F #5F847A #675F84 #845F6A
split-complementary
#7C845F #5F6A84 #7A5F84
monochromatic
#393D2C #5B6045 #7C845F #9AA27E #B6BCA2
Accessibility & contrast
On white
3.95
#7C845F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#7C845F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C845F
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C845F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C845F | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89805D
Deuteranopia (green-blind)
#888061
Tritanopia (blue-blind)
#80807A
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #7c845f; /* rgb */ color: rgb(124, 132, 95); /* oklch */ color: oklch(59.7% 0.054 118.0);
Tailwind
colors: {
custom: {
50: '#a2a78c',
500: '#7c845f',
950: '#000000',
},
}SCSS
$custom: #7c845f; $custom-light: #a2a78c; $custom-dark: #000000;
JSON
{
"hex": "#7c845f",
"rgb": {
"r": 124,
"g": 132,
"b": 95
},
"hsl": {
"h": 72.973,
"s": 16.3,
"l": 44.51
},
"oklch": {
"l": 0.59671,
"c": 0.05431,
"h": 118
},
"luminance": 0.21614
}Semantic roles & 50–950 ramp
primary
#7C845F
secondary
#9994AA
accent
#6FB97F
background
#FAFAF8
surface
#F3F4F0
border
#CDCECB
text
#0F0F0C
muted
#7F7F7D