#786F47#786F47
#786F47 is a mid, muted yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.058 H 97.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #786F47 |
|---|---|
| RGB | rgb(120, 111, 71) |
| HSL | hsl(49, 26%, 37%) |
| HSV | hsv(49, 41%, 47%) |
| CMYK | cmyk(0%, 7.5%, 40.8%, 52.9%) |
| CIE-LAB | lab(46.73, -2.82, 23.55) |
| CIE-LCH | lch(46.73, 23.71, 96.84°) |
| OKLab | oklab(53.98% -0.0071 0.0578) |
| OKLCH | oklch(53.98% 0.058 97) |
| XYZ | xyz(14.5678, 15.8173, 8.2457) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.06
Greyish Brown
#7A6A4F
ΔE00 6.07
Dull Brown
#876E4B
ΔE00 7.58
Brownish Grey
#86775F
ΔE00 7.81
Dirt
#8A6E45
ΔE00 7.87
Olive Drab
#6F7632
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F47 #475078
analogous
#785747 #786F47 #687847
triadic
#786F47 #47786F #6F4778
tetradic
#786F47 #477857 #475078 #784768
square
#786F47 #477857 #475078 #784768
split-complementary
#786F47 #476878 #574778
monochromatic
#2B281A #524B30 #786F47 #9E935E #B6AD83
Accessibility & contrast
On white
5.04
#786F47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#786F47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F47
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F47 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776D44
Deuteranopia (green-blind)
#797048
Tritanopia (blue-blind)
#7F6965
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786f47; /* rgb */ color: rgb(120, 111, 71); /* oklch */ color: oklch(54.0% 0.058 97.0);
Tailwind
colors: {
custom: {
50: '#a0987b',
500: '#786f47',
950: '#000000',
},
}SCSS
$custom: #786f47; $custom-light: #a0987b; $custom-dark: #000000;
JSON
{
"hex": "#786f47",
"rgb": {
"r": 120,
"g": 111,
"b": 71
},
"hsl": {
"h": 48.98,
"s": 25.654,
"l": 37.451
},
"oklch": {
"l": 0.53984,
"c": 0.05827,
"h": 97
},
"luminance": 0.15817
}Semantic roles & 50–950 ramp
primary
#786F47
secondary
#7980A2
accent
#77C266
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B