#786E47#786E47
#786E47 is a mid, muted yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.057 H 95.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #786E47 |
|---|---|
| RGB | rgb(120, 110, 71) |
| HSL | hsl(48, 26%, 37%) |
| HSV | hsv(48, 41%, 47%) |
| CMYK | cmyk(0%, 8.3%, 40.8%, 52.9%) |
| CIE-LAB | lab(46.45, -2.25, 23.17) |
| CIE-LCH | lch(46.45, 23.28, 95.54°) |
| OKLab | oklab(53.76% -0.0055 0.057) |
| OKLCH | oklch(53.76% 0.057 95.5) |
| XYZ | xyz(14.4593, 15.6003, 8.2095) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 4.62
Greyish Brown
#7A6A4F
ΔE00 5.49
Dull Brown
#876E4B
ΔE00 7.12
Dirt
#8A6E45
ΔE00 7.48
Brownish Grey
#86775F
ΔE00 7.54
Dirt Brown
#836539
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E47 #475178
analogous
#785647 #786E47 #697847
triadic
#786E47 #47786E #6E4778
tetradic
#786E47 #477856 #475178 #784769
square
#786E47 #477856 #475178 #784769
split-complementary
#786E47 #476978 #564778
monochromatic
#2B281A #524B30 #786E47 #9E915E #B6AC83
Accessibility & contrast
On white
5.10
#786E47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#786E47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E47
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E47 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766C44
Deuteranopia (green-blind)
#786F48
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #786e47; /* rgb */ color: rgb(120, 110, 71); /* oklch */ color: oklch(53.8% 0.057 95.5);
Tailwind
colors: {
custom: {
50: '#a0977a',
500: '#786e47',
950: '#000000',
},
}SCSS
$custom: #786e47; $custom-light: #a0977a; $custom-dark: #000000;
JSON
{
"hex": "#786e47",
"rgb": {
"r": 120,
"g": 110,
"b": 71
},
"hsl": {
"h": 47.755,
"s": 25.654,
"l": 37.451
},
"oklch": {
"l": 0.53757,
"c": 0.05723,
"h": 95.5
},
"luminance": 0.156
}Semantic roles & 50–950 ramp
primary
#786E47
secondary
#7981A2
accent
#79C266
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B