#786F4C#786F4C
#786F4C is a mid, muted yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.052 H 95.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #786F4C |
|---|---|
| RGB | rgb(120, 111, 76) |
| HSL | hsl(48, 22%, 38%) |
| HSV | hsv(48, 37%, 47%) |
| CMYK | cmyk(0%, 7.5%, 36.7%, 52.9%) |
| CIE-LAB | lab(46.82, -2.19, 20.79) |
| CIE-LCH | lch(46.82, 20.90, 96.00°) |
| OKLab | oklab(54.08% -0.0049 0.0516) |
| OKLCH | oklch(54.08% 0.052 95.4) |
| XYZ | xyz(14.7349, 15.8842, 9.1258) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 4.07
Greyish Brown
#7A6A4F
ΔE00 5.11
Brownish Grey
#86775F
ΔE00 6.78
Dull Brown
#876E4B
ΔE00 7.26
Dirt
#8A6E45
ΔE00 7.86
Dark Taupe
#7F684E
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F4C #4C5578
analogous
#78594C #786F4C #6B784C
triadic
#786F4C #4C786F #6F4C78
tetradic
#786F4C #4C7859 #4C5578 #784C6B
square
#786F4C #4C7859 #4C5578 #784C6B
split-complementary
#786F4C #4C6B78 #594C78
monochromatic
#2D2A1D #534C34 #786F4C #9D9164 #B5AC8A
Accessibility & contrast
On white
5.03
#786F4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#786F4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F4C
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F4C | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766D4A
Deuteranopia (green-blind)
#78704D
Tritanopia (blue-blind)
#7F6A66
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786f4c; /* rgb */ color: rgb(120, 111, 76); /* oklch */ color: oklch(54.1% 0.052 95.4);
Tailwind
colors: {
custom: {
50: '#a0987e',
500: '#786f4c',
950: '#000000',
},
}SCSS
$custom: #786f4c; $custom-light: #a0987e; $custom-dark: #000000;
JSON
{
"hex": "#786f4c",
"rgb": {
"r": 120,
"g": 111,
"b": 76
},
"hsl": {
"h": 47.727,
"s": 22.449,
"l": 38.431
},
"oklch": {
"l": 0.54083,
"c": 0.05186,
"h": 95.4
},
"luminance": 0.15884
}Semantic roles & 50–950 ramp
primary
#786F4C
secondary
#7E86A1
accent
#7ABF69
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C