#7C795C#7C795C
#7C795C is a mid, muted yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.042 H 102.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7C795C |
|---|---|
| RGB | rgb(124, 121, 92) |
| HSL | hsl(54, 15%, 42%) |
| HSV | hsv(54, 26%, 49%) |
| CMYK | cmyk(0%, 2.4%, 25.8%, 51.4%) |
| CIE-LAB | lab(50.37, -3.93, 16.36) |
| CIE-LCH | lch(50.37, 16.83, 103.50°) |
| OKLab | oklab(57.08% -0.0093 0.0414) |
| OKLCH | oklch(57.08% 0.042 102.7) |
| XYZ | xyz(17.0813, 18.7328, 12.8391) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 5.62
Grey Brown
#7F7053
ΔE00 6.58
Brownish Grey
#86775F
ΔE00 6.91
Greyish Brown
#7A6A4F
ΔE00 8.40
Taupe
#8B7D6B
ΔE00 8.61
Drab
#828344
ΔE00 9.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C795C #5C5F7C
analogous
#7C695C #7C795C #6F7C5C
triadic
#7C795C #5C7C79 #795C7C
tetradic
#7C795C #5C7C69 #5C5F7C #7C5C6F
square
#7C795C #5C7C69 #5C5F7C #7C5C6F
split-complementary
#7C795C #5C6F7C #695C7C
monochromatic
#363428 #595742 #7C795C #9C9979 #B6B49C
Accessibility & contrast
On white
4.42
#7C795C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7C795C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C795C
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C795C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C795C | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E775A
Deuteranopia (green-blind)
#80795D
Tritanopia (blue-blind)
#817571
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c795c; /* rgb */ color: rgb(124, 121, 92); /* oklch */ color: oklch(57.1% 0.042 102.7);
Tailwind
colors: {
custom: {
50: '#a29f8a',
500: '#7c795c',
950: '#000000',
},
}SCSS
$custom: #7c795c; $custom-light: #a29f8a; $custom-dark: #000000;
JSON
{
"hex": "#7c795c",
"rgb": {
"r": 124,
"g": 121,
"b": 92
},
"hsl": {
"h": 54.375,
"s": 14.815,
"l": 42.353
},
"oklch": {
"l": 0.5708,
"c": 0.04248,
"h": 102.7
},
"luminance": 0.18733
}Semantic roles & 50–950 ramp
primary
#7C795C
secondary
#8F91A4
accent
#77B870
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0B
muted
#7F7E7C