#786D4B#786D4B
#786D4B is a mid, muted yellow. Relative luminance 0.154; OKLCH L 53.6% C 0.051 H 92.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #786D4B |
|---|---|
| RGB | rgb(120, 109, 75) |
| HSL | hsl(45, 23%, 38%) |
| HSV | hsv(45, 38%, 47%) |
| CMYK | cmyk(0%, 9.2%, 37.5%, 52.9%) |
| CIE-LAB | lab(46.23, -1.16, 20.59) |
| CIE-LCH | lch(46.23, 20.62, 93.22°) |
| OKLab | oklab(53.61% -0.002 0.0511) |
| OKLCH | oklch(53.61% 0.051 92.3) |
| XYZ | xyz(14.4846, 15.4388, 8.8722) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.34
Greyish Brown
#7A6A4F
ΔE00 4.00
Dull Brown
#876E4B
ΔE00 6.39
Brownish Grey
#86775F
ΔE00 6.45
Dirt
#8A6E45
ΔE00 7.10
Dark Taupe
#7F684E
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786D4B #4B5678
analogous
#78564B #786D4B #6C784B
triadic
#786D4B #4B786D #6D4B78
tetradic
#786D4B #4B7856 #4B5678 #784B6C
square
#786D4B #4B7856 #4B5678 #784B6C
split-complementary
#786D4B #4B6C78 #564B78
monochromatic
#2D291C #524B33 #786D4B #9D8F63 #B5AA88
Accessibility & contrast
On white
5.14
#786D4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#786D4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786D4B
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786D4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786D4B | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746C49
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #786d4b; /* rgb */ color: rgb(120, 109, 75); /* oklch */ color: oklch(53.6% 0.051 92.3);
Tailwind
colors: {
custom: {
50: '#a0967d',
500: '#786d4b',
950: '#000000',
},
}SCSS
$custom: #786d4b; $custom-light: #a0967d; $custom-dark: #000000;
JSON
{
"hex": "#786d4b",
"rgb": {
"r": 120,
"g": 109,
"b": 75
},
"hsl": {
"h": 45.333,
"s": 23.077,
"l": 38.235
},
"oklch": {
"l": 0.53609,
"c": 0.05116,
"h": 92.3
},
"luminance": 0.15438
}Semantic roles & 50–950 ramp
primary
#786D4B
secondary
#7D86A1
accent
#7EC068
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B