#786F54#786F54
#786F54 is a mid, muted yellow. Relative luminance 0.160; OKLCH L 54.3% C 0.041 H 91.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #786F54 |
|---|---|
| RGB | rgb(120, 111, 84) |
| HSL | hsl(45, 18%, 40%) |
| HSV | hsv(45, 30%, 47%) |
| CMYK | cmyk(0%, 7.5%, 30%, 52.9%) |
| CIE-LAB | lab(46.98, -1.07, 16.34) |
| CIE-LCH | lch(46.98, 16.37, 93.75°) |
| OKLab | oklab(54.26% -0.0013 0.0413) |
| OKLCH | oklch(54.26% 0.041 91.8) |
| XYZ | xyz(15.0305, 16.0024, 10.6828) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.04
Greyish Brown
#7A6A4F
ΔE00 3.91
Brownish Grey
#86775F
ΔE00 5.25
Dull Brown
#876E4B
ΔE00 7.15
Dark Taupe
#7F684E
ΔE00 7.40
Taupe
#8B7D6B
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F54 #545D78
analogous
#785D54 #786F54 #6F7854
triadic
#786F54 #54786F #6F5478
tetradic
#786F54 #54785D #545D78 #78546F
square
#786F54 #54785D #545D78 #78546F
split-complementary
#786F54 #546F78 #5D5478
monochromatic
#302C22 #544E3B #786F54 #9A8F6F #B3AB93
Accessibility & contrast
On white
5.00
#786F54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#786F54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F54
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F54 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756E52
Deuteranopia (green-blind)
#777155
Tritanopia (blue-blind)
#7E6B68
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786f54; /* rgb */ color: rgb(120, 111, 84); /* oklch */ color: oklch(54.3% 0.041 91.8);
Tailwind
colors: {
custom: {
50: '#9f9884',
500: '#786f54',
950: '#000000',
},
}SCSS
$custom: #786f54; $custom-light: #9f9884; $custom-dark: #000000;
JSON
{
"hex": "#786f54",
"rgb": {
"r": 120,
"g": 111,
"b": 84
},
"hsl": {
"h": 45,
"s": 17.647,
"l": 40
},
"oklch": {
"l": 0.54257,
"c": 0.04128,
"h": 91.8
},
"luminance": 0.16002
}Semantic roles & 50–950 ramp
primary
#786F54
secondary
#878DA1
accent
#81BA6D
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0D0B
muted
#7E7E7C