#7C795F#7C795F
#7C795F is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.2% C 0.038 H 102.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7C795F |
|---|---|
| RGB | rgb(124, 121, 95) |
| HSL | hsl(54, 13%, 43%) |
| HSV | hsv(54, 23%, 49%) |
| CMYK | cmyk(0%, 2.4%, 23.4%, 51.4%) |
| CIE-LAB | lab(50.44, -3.47, 14.71) |
| CIE-LCH | lch(50.44, 15.11, 103.26°) |
| OKLab | oklab(57.15% -0.008 0.0375) |
| OKLCH | oklch(57.15% 0.038 102) |
| XYZ | xyz(17.2151, 18.7863, 13.5435) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 5.49
Grey Brown
#7F7053
ΔE00 6.54
Brownish Grey
#86775F
ΔE00 6.54
Taupe
#8B7D6B
ΔE00 7.97
Greyish Brown
#7A6A4F
ΔE00 8.29
Drab
#828344
ΔE00 10.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C795F #5F627C
analogous
#7C6A5F #7C795F #707C5F
triadic
#7C795F #5F7C79 #795F7C
tetradic
#7C795F #5F7C6A #5F627C #7C5F70
square
#7C795F #5F7C6A #5F627C #7C5F70
split-complementary
#7C795F #5F707C #6A5F7C
monochromatic
#37352A #595744 #7C795F #9B987D #B6B4A0
Accessibility & contrast
On white
4.41
#7C795F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#7C795F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C795F
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C795F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C795F | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E775D
Deuteranopia (green-blind)
#7F7960
Tritanopia (blue-blind)
#817572
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c795f; /* rgb */ color: rgb(124, 121, 95); /* oklch */ color: oklch(57.2% 0.038 102.0);
Tailwind
colors: {
custom: {
50: '#a29f8c',
500: '#7c795f',
950: '#000000',
},
}SCSS
$custom: #7c795f; $custom-light: #a29f8c; $custom-dark: #000000;
JSON
{
"hex": "#7c795f",
"rgb": {
"r": 124,
"g": 121,
"b": 95
},
"hsl": {
"h": 53.793,
"s": 13.242,
"l": 42.941
},
"oklch": {
"l": 0.57151,
"c": 0.03829,
"h": 102
},
"luminance": 0.18786
}Semantic roles & 50–950 ramp
primary
#7C795F
secondary
#9294A5
accent
#79B672
background
#FAF9F8
surface
#F3F2F0
border
#CDCCCB
text
#0F0E0C
muted
#7F7E7D