#786E4E#786E4E
#786E4E is a mid, muted yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.048 H 92.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #786E4E |
|---|---|
| RGB | rgb(120, 110, 78) |
| HSL | hsl(46, 21%, 39%) |
| HSV | hsv(46, 35%, 47%) |
| CMYK | cmyk(0%, 8.3%, 35%, 52.9%) |
| CIE-LAB | lab(46.57, -1.34, 19.30) |
| CIE-LCH | lch(46.57, 19.34, 93.97°) |
| OKLab | oklab(53.9% -0.0023 0.0482) |
| OKLCH | oklch(53.9% 0.048 92.8) |
| XYZ | xyz(14.6970, 15.6954, 9.4616) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.21
Greyish Brown
#7A6A4F
ΔE00 4.06
Brownish Grey
#86775F
ΔE00 6.08
Dull Brown
#876E4B
ΔE00 6.72
Dark Taupe
#7F684E
ΔE00 7.53
Dirt
#8A6E45
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E4E #4E5878
analogous
#78594E #786E4E #6D784E
triadic
#786E4E #4E786E #6E4E78
tetradic
#786E4E #4E7859 #4E5878 #784E6D
square
#786E4E #4E7859 #4E5878 #784E6D
split-complementary
#786E4E #4E6D78 #594E78
monochromatic
#2E2A1E #534C36 #786E4E #9C9067 #B4AB8C
Accessibility & contrast
On white
5.07
#786E4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#786E4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E4E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E4E | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756D4C
Deuteranopia (green-blind)
#77704F
Tritanopia (blue-blind)
#7E6966
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #786e4e; /* rgb */ color: rgb(120, 110, 78); /* oklch */ color: oklch(53.9% 0.048 92.8);
Tailwind
colors: {
custom: {
50: '#9f9780',
500: '#786e4e',
950: '#000000',
},
}SCSS
$custom: #786e4e; $custom-light: #9f9780; $custom-dark: #000000;
JSON
{
"hex": "#786e4e",
"rgb": {
"r": 120,
"g": 110,
"b": 78
},
"hsl": {
"h": 45.714,
"s": 21.212,
"l": 38.824
},
"oklch": {
"l": 0.53898,
"c": 0.04824,
"h": 92.8
},
"luminance": 0.15695
}Semantic roles & 50–950 ramp
primary
#786E4E
secondary
#8188A1
accent
#7EBE6A
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0D0A
muted
#7E7E7C