#786E48#786E48
#786E48 is a mid, muted yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.056 H 95.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #786E48 |
|---|---|
| RGB | rgb(120, 110, 72) |
| HSL | hsl(48, 25%, 38%) |
| HSV | hsv(48, 40%, 47%) |
| CMYK | cmyk(0%, 8.3%, 40%, 52.9%) |
| CIE-LAB | lab(46.46, -2.12, 22.62) |
| CIE-LCH | lch(46.46, 22.72, 95.36°) |
| OKLab | oklab(53.78% -0.005 0.0557) |
| OKLCH | oklch(53.78% 0.056 95.1) |
| XYZ | xyz(14.4916, 15.6133, 8.3799) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 4.41
Greyish Brown
#7A6A4F
ΔE00 5.28
Dull Brown
#876E4B
ΔE00 7.04
Brownish Grey
#86775F
ΔE00 7.33
Dirt
#8A6E45
ΔE00 7.46
Dirt Brown
#836539
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E48 #485278
analogous
#785648 #786E48 #6A7848
triadic
#786E48 #48786E #6E4878
tetradic
#786E48 #487856 #485278 #78486A
square
#786E48 #487856 #485278 #78486A
split-complementary
#786E48 #486A78 #564878
monochromatic
#2B281A #524B31 #786E48 #9E915F #B6AB85
Accessibility & contrast
On white
5.09
#786E48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#786E48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E48
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E48 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756C45
Deuteranopia (green-blind)
#787049
Tritanopia (blue-blind)
#7F6964
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #786e48; /* rgb */ color: rgb(120, 110, 72); /* oklch */ color: oklch(53.8% 0.056 95.1);
Tailwind
colors: {
custom: {
50: '#a0977b',
500: '#786e48',
950: '#000000',
},
}SCSS
$custom: #786e48; $custom-light: #a0977b; $custom-dark: #000000;
JSON
{
"hex": "#786e48",
"rgb": {
"r": 120,
"g": 110,
"b": 72
},
"hsl": {
"h": 47.5,
"s": 25,
"l": 37.647
},
"oklch": {
"l": 0.53776,
"c": 0.05597,
"h": 95.1
},
"luminance": 0.15613
}Semantic roles & 50–950 ramp
primary
#786E48
secondary
#7A82A2
accent
#79C166
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B