#786F49#786F49
#786F49 is a mid, muted yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.056 H 96.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #786F49 |
|---|---|
| RGB | rgb(120, 111, 73) |
| HSL | hsl(49, 24%, 38%) |
| HSV | hsv(49, 39%, 47%) |
| CMYK | cmyk(0%, 7.5%, 39.2%, 52.9%) |
| CIE-LAB | lab(46.77, -2.57, 22.45) |
| CIE-LCH | lch(46.77, 22.59, 96.54°) |
| OKLab | oklab(54.02% -0.0062 0.0554) |
| OKLCH | oklch(54.02% 0.056 96.4) |
| XYZ | xyz(14.6330, 15.8434, 8.5893) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 4.66
Greyish Brown
#7A6A4F
ΔE00 5.68
Brownish Grey
#86775F
ΔE00 7.40
Dull Brown
#876E4B
ΔE00 7.43
Dirt
#8A6E45
ΔE00 7.84
Olive Drab
#6F7632
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F49 #495278
analogous
#785849 #786F49 #697849
triadic
#786F49 #49786F #6F4978
tetradic
#786F49 #497858 #495278 #784969
square
#786F49 #497858 #495278 #784969
split-complementary
#786F49 #496978 #584978
monochromatic
#2C291B #524C32 #786F49 #9E9260 #B5AC86
Accessibility & contrast
On white
5.04
#786F49 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#786F49 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F49
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F49 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766D46
Deuteranopia (green-blind)
#79704A
Tritanopia (blue-blind)
#7F6A65
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #786f49; /* rgb */ color: rgb(120, 111, 73); /* oklch */ color: oklch(54.0% 0.056 96.4);
Tailwind
colors: {
custom: {
50: '#a0987c',
500: '#786f49',
950: '#000000',
},
}SCSS
$custom: #786f49; $custom-light: #a0987c; $custom-dark: #000000;
JSON
{
"hex": "#786f49",
"rgb": {
"r": 120,
"g": 111,
"b": 73
},
"hsl": {
"h": 48.511,
"s": 24.352,
"l": 37.843
},
"oklch": {
"l": 0.54023,
"c": 0.05573,
"h": 96.4
},
"luminance": 0.15843
}Semantic roles & 50–950 ramp
primary
#786F49
secondary
#7B83A2
accent
#78C167
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D09
muted
#7E7E7B