#786F4F#786F4F
#786F4F is a mid, muted yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.048 H 94.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #786F4F |
|---|---|
| RGB | rgb(120, 111, 79) |
| HSL | hsl(47, 21%, 39%) |
| HSV | hsv(47, 34%, 47%) |
| CMYK | cmyk(0%, 7.5%, 34.2%, 52.9%) |
| CIE-LAB | lab(46.88, -1.78, 19.12) |
| CIE-LCH | lch(46.88, 19.21, 95.32°) |
| OKLab | oklab(54.15% -0.0036 0.0478) |
| OKLCH | oklch(54.15% 0.048 94.3) |
| XYZ | xyz(14.8416, 15.9269, 9.6880) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.55
Greyish Brown
#7A6A4F
ΔE00 4.58
Brownish Grey
#86775F
ΔE00 6.17
Dull Brown
#876E4B
ΔE00 7.15
Dirt
#8A6E45
ΔE00 7.95
Dark Taupe
#7F684E
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F4F #4F5878
analogous
#785B4F #786F4F #6D784F
triadic
#786F4F #4F786F #6F4F78
tetradic
#786F4F #4F785B #4F5878 #784F6D
square
#786F4F #4F785B #4F5878 #784F6D
split-complementary
#786F4F #4F6D78 #5B4F78
monochromatic
#2E2B1E #534D37 #786F4F #9C9168 #B4AC8D
Accessibility & contrast
On white
5.02
#786F4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#786F4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F4F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F4F | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766D4D
Deuteranopia (green-blind)
#787050
Tritanopia (blue-blind)
#7E6A67
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786f4f; /* rgb */ color: rgb(120, 111, 79); /* oklch */ color: oklch(54.1% 0.048 94.3);
Tailwind
colors: {
custom: {
50: '#9f9880',
500: '#786f4f',
950: '#000000',
},
}SCSS
$custom: #786f4f; $custom-light: #9f9880; $custom-dark: #000000;
JSON
{
"hex": "#786f4f",
"rgb": {
"r": 120,
"g": 111,
"b": 79
},
"hsl": {
"h": 46.829,
"s": 20.603,
"l": 39.02
},
"oklch": {
"l": 0.54146,
"c": 0.04793,
"h": 94.3
},
"luminance": 0.15926
}Semantic roles & 50–950 ramp
primary
#786F4F
secondary
#8289A1
accent
#7DBD6B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0D0A
muted
#7E7E7C