#786E4B#786E4B
#786E4B is a mid, muted yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.052 H 94.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #786E4B |
|---|---|
| RGB | rgb(120, 110, 75) |
| HSL | hsl(47, 23%, 38%) |
| HSV | hsv(47, 38%, 47%) |
| CMYK | cmyk(0%, 8.3%, 37.5%, 52.9%) |
| CIE-LAB | lab(46.52, -1.74, 20.96) |
| CIE-LCH | lch(46.52, 21.04, 94.74°) |
| OKLab | oklab(53.84% -0.0037 0.052) |
| OKLCH | oklch(53.84% 0.052 94.1) |
| XYZ | xyz(14.5919, 15.6534, 8.9080) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.78
Greyish Brown
#7A6A4F
ΔE00 4.65
Brownish Grey
#86775F
ΔE00 6.70
Dull Brown
#876E4B
ΔE00 6.85
Dirt
#8A6E45
ΔE00 7.46
Dark Taupe
#7F684E
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E4B #4B5578
analogous
#78574B #786E4B #6B784B
triadic
#786E4B #4B786E #6E4B78
tetradic
#786E4B #4B7857 #4B5578 #784B6B
square
#786E4B #4B7857 #4B5578 #784B6B
split-complementary
#786E4B #4B6B78 #574B78
monochromatic
#2D291C #524B33 #786E4B #9D9063 #B5AB88
Accessibility & contrast
On white
5.08
#786E4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#786E4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E4B
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E4B | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756C49
Deuteranopia (green-blind)
#78704C
Tritanopia (blue-blind)
#7F6965
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #786e4b; /* rgb */ color: rgb(120, 110, 75); /* oklch */ color: oklch(53.8% 0.052 94.1);
Tailwind
colors: {
custom: {
50: '#a0977d',
500: '#786e4b',
950: '#000000',
},
}SCSS
$custom: #786e4b; $custom-light: #a0977d; $custom-dark: #000000;
JSON
{
"hex": "#786e4b",
"rgb": {
"r": 120,
"g": 110,
"b": 75
},
"hsl": {
"h": 46.667,
"s": 23.077,
"l": 38.235
},
"oklch": {
"l": 0.53836,
"c": 0.05213,
"h": 94.1
},
"luminance": 0.15653
}Semantic roles & 50–950 ramp
primary
#786E4B
secondary
#7D85A1
accent
#7CC068
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B