#786E46#786E46
#786E46 is a mid, muted yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.058 H 95.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #786E46 |
|---|---|
| RGB | rgb(120, 110, 70) |
| HSL | hsl(48, 26%, 37%) |
| HSV | hsv(48, 42%, 47%) |
| CMYK | cmyk(0%, 8.3%, 41.7%, 52.9%) |
| CIE-LAB | lab(46.43, -2.37, 23.72) |
| CIE-LCH | lch(46.43, 23.84, 95.71°) |
| OKLab | oklab(53.74% -0.0059 0.0582) |
| OKLCH | oklch(53.74% 0.058 95.8) |
| XYZ | xyz(14.4275, 15.5876, 8.0419) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 4.84
Greyish Brown
#7A6A4F
ΔE00 5.70
Dull Brown
#876E4B
ΔE00 7.20
Dirt
#8A6E45
ΔE00 7.50
Brownish Grey
#86775F
ΔE00 7.75
Dirt Brown
#836539
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E46 #465078
analogous
#785546 #786E46 #697846
triadic
#786E46 #46786E #6E4678
tetradic
#786E46 #467855 #465078 #784669
square
#786E46 #467855 #465078 #784669
split-complementary
#786E46 #466978 #554678
monochromatic
#2B2719 #514B2F #786E46 #9F915D #B6AC82
Accessibility & contrast
On white
5.10
#786E46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#786E46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E46
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E46 | 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)
#766C43
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #786e46; /* rgb */ color: rgb(120, 110, 70); /* oklch */ color: oklch(53.7% 0.058 95.8);
Tailwind
colors: {
custom: {
50: '#a0977a',
500: '#786e46',
950: '#000000',
},
}SCSS
$custom: #786e46; $custom-light: #a0977a; $custom-dark: #000000;
JSON
{
"hex": "#786e46",
"rgb": {
"r": 120,
"g": 110,
"b": 70
},
"hsl": {
"h": 48,
"s": 26.316,
"l": 37.255
},
"oklch": {
"l": 0.53738,
"c": 0.05849,
"h": 95.8
},
"luminance": 0.15587
}Semantic roles & 50–950 ramp
primary
#786E46
secondary
#7880A2
accent
#78C365
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B