#786D48#786D48
#786D48 is a mid, muted yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.055 H 93.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #786D48 |
|---|---|
| RGB | rgb(120, 109, 72) |
| HSL | hsl(46, 25%, 38%) |
| HSV | hsv(46, 40%, 47%) |
| CMYK | cmyk(0%, 9.2%, 40%, 52.9%) |
| CIE-LAB | lab(46.18, -1.54, 22.25) |
| CIE-LCH | lch(46.18, 22.30, 93.97°) |
| OKLab | oklab(53.55% -0.0033 0.0549) |
| OKLCH | oklch(53.55% 0.055 93.5) |
| XYZ | xyz(14.3844, 15.3987, 8.3442) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.99
Greyish Brown
#7A6A4F
ΔE00 4.68
Dull Brown
#876E4B
ΔE00 6.59
Brownish Grey
#86775F
ΔE00 7.08
Dirt
#8A6E45
ΔE00 7.09
Dirt Brown
#836539
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786D48 #485378
analogous
#785548 #786D48 #6B7848
triadic
#786D48 #48786D #6D4878
tetradic
#786D48 #487855 #485378 #78486B
square
#786D48 #487855 #485378 #78486B
split-complementary
#786D48 #486B78 #554878
monochromatic
#2B281A #524A31 #786D48 #9E905F #B6AA85
Accessibility & contrast
On white
5.15
#786D48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#786D48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786D48
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786D48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786D48 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B45
Deuteranopia (green-blind)
#776F49
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #786d48; /* rgb */ color: rgb(120, 109, 72); /* oklch */ color: oklch(53.5% 0.055 93.5);
Tailwind
colors: {
custom: {
50: '#a0967b',
500: '#786d48',
950: '#000000',
},
}SCSS
$custom: #786d48; $custom-light: #a0967b; $custom-dark: #000000;
JSON
{
"hex": "#786d48",
"rgb": {
"r": 120,
"g": 109,
"b": 72
},
"hsl": {
"h": 46.25,
"s": 25,
"l": 37.647
},
"oklch": {
"l": 0.53549,
"c": 0.05497,
"h": 93.5
},
"luminance": 0.15398
}Semantic roles & 50–950 ramp
primary
#786D48
secondary
#7A83A2
accent
#7BC166
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B