#786F45#786F45
#786F45 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.061 H 97.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #786F45 |
|---|---|
| RGB | rgb(120, 111, 69) |
| HSL | hsl(49, 27%, 37%) |
| HSV | hsv(49, 43%, 47%) |
| CMYK | cmyk(0%, 7.5%, 42.5%, 52.9%) |
| CIE-LAB | lab(46.70, -3.07, 24.64) |
| CIE-LCH | lch(46.70, 24.83, 97.09°) |
| OKLab | oklab(53.95% -0.008 0.0602) |
| OKLCH | oklch(53.95% 0.061 97.6) |
| XYZ | xyz(14.5047, 15.7921, 7.9132) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 5.47
Greyish Brown
#7A6A4F
ΔE00 6.45
Olive Drab
#6F7632
ΔE00 7.72
Dull Brown
#876E4B
ΔE00 7.74
Dirt
#8A6E45
ΔE00 7.93
Brownish Grey
#86775F
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F45 #454E78
analogous
#785645 #786F45 #687845
triadic
#786F45 #45786F #6F4578
tetradic
#786F45 #457856 #454E78 #784568
square
#786F45 #457856 #454E78 #784568
split-complementary
#786F45 #456878 #564578
monochromatic
#2A2718 #514B2F #786F45 #9F935B #B6AD81
Accessibility & contrast
On white
5.05
#786F45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#786F45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F45
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F45 | 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)
#776D42
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#7F6965
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786f45; /* rgb */ color: rgb(120, 111, 69); /* oklch */ color: oklch(53.9% 0.061 97.6);
Tailwind
colors: {
custom: {
50: '#a09879',
500: '#786f45',
950: '#000000',
},
}SCSS
$custom: #786f45; $custom-light: #a09879; $custom-dark: #000000;
JSON
{
"hex": "#786f45",
"rgb": {
"r": 120,
"g": 111,
"b": 69
},
"hsl": {
"h": 49.412,
"s": 26.984,
"l": 37.059
},
"oklch": {
"l": 0.53947,
"c": 0.06077,
"h": 97.6
},
"luminance": 0.15792
}Semantic roles & 50–950 ramp
primary
#786F45
secondary
#777EA2
accent
#75C364
background
#F9F9F7
surface
#F2F2ED
border
#CCCCC8
text
#0F0D09
muted
#7E7E7B