#786F52#786F52
#786F52 is a mid, muted yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.044 H 92.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #786F52 |
|---|---|
| RGB | rgb(120, 111, 82) |
| HSL | hsl(46, 19%, 40%) |
| HSV | hsv(46, 32%, 47%) |
| CMYK | cmyk(0%, 7.5%, 31.7%, 52.9%) |
| CIE-LAB | lab(46.94, -1.36, 17.45) |
| CIE-LCH | lch(46.94, 17.51, 94.45°) |
| OKLab | oklab(54.21% -0.0022 0.0439) |
| OKLCH | oklch(54.21% 0.044 92.9) |
| XYZ | xyz(14.9533, 15.9715, 10.2761) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.17
Greyish Brown
#7A6A4F
ΔE00 4.13
Brownish Grey
#86775F
ΔE00 5.59
Dull Brown
#876E4B
ΔE00 7.12
Dark Taupe
#7F684E
ΔE00 7.65
Dirt
#8A6E45
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F52 #525B78
analogous
#785C52 #786F52 #6E7852
triadic
#786F52 #52786F #6F5278
tetradic
#786F52 #52785C #525B78 #78526E
square
#786F52 #52785C #525B78 #78526E
split-complementary
#786F52 #526E78 #5C5278
monochromatic
#2F2C20 #544D39 #786F52 #9B906C #B4AB91
Accessibility & contrast
On white
5.01
#786F52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#786F52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F52
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F52 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756E50
Deuteranopia (green-blind)
#787053
Tritanopia (blue-blind)
#7E6B67
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786f52; /* rgb */ color: rgb(120, 111, 82); /* oklch */ color: oklch(54.2% 0.044 92.9);
Tailwind
colors: {
custom: {
50: '#9f9882',
500: '#786f52',
950: '#000000',
},
}SCSS
$custom: #786f52; $custom-light: #9f9882; $custom-dark: #000000;
JSON
{
"hex": "#786f52",
"rgb": {
"r": 120,
"g": 111,
"b": 82
},
"hsl": {
"h": 45.789,
"s": 18.812,
"l": 39.608
},
"oklch": {
"l": 0.54211,
"c": 0.04396,
"h": 92.9
},
"luminance": 0.15971
}Semantic roles & 50–950 ramp
primary
#786F52
secondary
#858BA1
accent
#7FBB6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0D0A
muted
#7E7E7C