#786E45#786E45
#786E45 is a mid, muted yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.060 H 96.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #786E45 |
|---|---|
| RGB | rgb(120, 110, 69) |
| HSL | hsl(48, 27%, 37%) |
| HSV | hsv(48, 43%, 47%) |
| CMYK | cmyk(0%, 8.3%, 42.5%, 52.9%) |
| CIE-LAB | lab(46.41, -2.49, 24.27) |
| CIE-LCH | lch(46.41, 24.40, 95.86°) |
| OKLab | oklab(53.72% -0.0063 0.0594) |
| OKLCH | oklch(53.72% 0.06 96.1) |
| XYZ | xyz(14.3962, 15.5751, 7.8770) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.05
Greyish Brown
#7A6A4F
ΔE00 5.91
Dull Brown
#876E4B
ΔE00 7.29
Dirt
#8A6E45
ΔE00 7.53
Brownish Grey
#86775F
ΔE00 7.95
Dirt Brown
#836539
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786E45 #454F78
analogous
#785545 #786E45 #697845
triadic
#786E45 #45786E #6E4578
tetradic
#786E45 #457855 #454F78 #784569
square
#786E45 #457855 #454F78 #784569
split-complementary
#786E45 #456978 #554578
monochromatic
#2A2718 #514A2F #786E45 #9F925B #B6AC81
Accessibility & contrast
On white
5.10
#786E45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#786E45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786E45
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786E45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786E45 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766C42
Deuteranopia (green-blind)
#796F47
Tritanopia (blue-blind)
#7F6864
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #786e45; /* rgb */ color: rgb(120, 110, 69); /* oklch */ color: oklch(53.7% 0.060 96.1);
Tailwind
colors: {
custom: {
50: '#a09779',
500: '#786e45',
950: '#000000',
},
}SCSS
$custom: #786e45; $custom-light: #a09779; $custom-dark: #000000;
JSON
{
"hex": "#786e45",
"rgb": {
"r": 120,
"g": 110,
"b": 69
},
"hsl": {
"h": 48.235,
"s": 26.984,
"l": 37.059
},
"oklch": {
"l": 0.53719,
"c": 0.05974,
"h": 96.1
},
"luminance": 0.15575
}Semantic roles & 50–950 ramp
primary
#786E45
secondary
#777FA2
accent
#77C364
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B