#786F46#786F46
#786F46 is a mid, muted yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.060 H 97.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #786F46 |
|---|---|
| RGB | rgb(120, 111, 70) |
| HSL | hsl(49, 26%, 37%) |
| HSV | hsv(49, 42%, 47%) |
| CMYK | cmyk(0%, 7.5%, 41.7%, 52.9%) |
| CIE-LAB | lab(46.72, -2.95, 24.09) |
| CIE-LCH | lch(46.72, 24.27, 96.97°) |
| OKLab | oklab(53.97% -0.0076 0.059) |
| OKLCH | oklch(53.97% 0.06 97.3) |
| XYZ | xyz(14.5360, 15.8046, 8.0781) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.27
Greyish Brown
#7A6A4F
ΔE00 6.26
Dull Brown
#876E4B
ΔE00 7.65
Dirt
#8A6E45
ΔE00 7.90
Olive Drab
#6F7632
ΔE00 7.92
Brownish Grey
#86775F
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F46 #464F78
analogous
#785646 #786F46 #687846
triadic
#786F46 #46786F #6F4678
tetradic
#786F46 #467856 #464F78 #784668
square
#786F46 #467856 #464F78 #784668
split-complementary
#786F46 #466878 #564678
monochromatic
#2B2719 #514B2F #786F46 #9F935D #B6AD82
Accessibility & contrast
On white
5.05
#786F46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#786F46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F46
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F46 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776D43
Deuteranopia (green-blind)
#797048
Tritanopia (blue-blind)
#7F6965
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786f46; /* rgb */ color: rgb(120, 111, 70); /* oklch */ color: oklch(54.0% 0.060 97.3);
Tailwind
colors: {
custom: {
50: '#a0987a',
500: '#786f46',
950: '#000000',
},
}SCSS
$custom: #786f46; $custom-light: #a0987a; $custom-dark: #000000;
JSON
{
"hex": "#786f46",
"rgb": {
"r": 120,
"g": 111,
"b": 70
},
"hsl": {
"h": 49.2,
"s": 26.316,
"l": 37.255
},
"oklch": {
"l": 0.53966,
"c": 0.05952,
"h": 97.3
},
"luminance": 0.15804
}Semantic roles & 50–950 ramp
primary
#786F46
secondary
#787FA2
accent
#76C365
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B