#7C6F40#7C6F40
#7C6F40 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.3% C 0.068 H 94.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7C6F40 |
|---|---|
| RGB | rgb(124, 111, 64) |
| HSL | hsl(47, 32%, 37%) |
| HSV | hsv(47, 48%, 49%) |
| CMYK | cmyk(0%, 10.5%, 48.4%, 51.4%) |
| CIE-LAB | lab(47.01, -1.85, 27.92) |
| CIE-LCH | lch(47.01, 27.98, 93.78°) |
| OKLab | oklab(54.26% -0.0052 0.0673) |
| OKLCH | oklch(54.26% 0.068 94.4) |
| XYZ | xyz(14.9225, 16.0247, 7.1565) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.64
Dirt
#8A6E45
ΔE00 6.59
Greyish Brown
#7A6A4F
ΔE00 6.60
Dull Brown
#876E4B
ΔE00 6.75
Dirt Brown
#836539
ΔE00 7.31
Olive Drab
#6F7632
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C6F40 #404D7C
analogous
#7C5140 #7C6F40 #6B7C40
triadic
#7C6F40 #407C6F #6F407C
tetradic
#7C6F40 #407C51 #404D7C #7C406B
square
#7C6F40 #407C51 #404D7C #7C406B
split-complementary
#7C6F40 #406B7C #51407C
monochromatic
#2B2716 #544B2B #7C6F40 #A49355 #BBAD7B
Accessibility & contrast
On white
4.99
#7C6F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#7C6F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C6F40
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C6F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C6F40 | 1.00 | 4.99 | 4.20 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#7B7142
Tritanopia (blue-blind)
#846864
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c6f40; /* rgb */ color: rgb(124, 111, 64); /* oklch */ color: oklch(54.3% 0.068 94.4);
Tailwind
colors: {
custom: {
50: '#a39876',
500: '#7c6f40',
950: '#000000',
},
}SCSS
$custom: #7c6f40; $custom-light: #a39876; $custom-dark: #000000;
JSON
{
"hex": "#7c6f40",
"rgb": {
"r": 124,
"g": 111,
"b": 64
},
"hsl": {
"h": 47,
"s": 31.915,
"l": 36.863
},
"oklch": {
"l": 0.54256,
"c": 0.06751,
"h": 94.4
},
"luminance": 0.16024
}Semantic roles & 50–950 ramp
primary
#7C6F40
secondary
#727DA6
accent
#76C860
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D08
muted
#7F7E7B