#796F4F#796F4F
#796F4F is a mid, muted yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.048 H 92.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #796F4F |
|---|---|
| RGB | rgb(121, 111, 79) |
| HSL | hsl(46, 21%, 39%) |
| HSV | hsv(46, 35%, 47%) |
| CMYK | cmyk(0%, 8.3%, 34.7%, 52.5%) |
| CIE-LAB | lab(46.97, -1.35, 19.27) |
| CIE-LCH | lch(46.97, 19.31, 94.00°) |
| OKLab | oklab(54.24% -0.0023 0.0481) |
| OKLCH | oklch(54.24% 0.048 92.8) |
| XYZ | xyz(14.9811, 15.9988, 9.6945) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.08
Greyish Brown
#7A6A4F
ΔE00 4.17
Brownish Grey
#86775F
ΔE00 5.82
Dull Brown
#876E4B
ΔE00 6.66
Dirt
#8A6E45
ΔE00 7.49
Dark Taupe
#7F684E
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796F4F #4F5979
analogous
#795A4F #796F4F #6E794F
triadic
#796F4F #4F796F #6F4F79
tetradic
#796F4F #4F795A #4F5979 #794F6E
square
#796F4F #4F795A #4F5979 #794F6E
split-complementary
#796F4F #4F6E79 #5A4F79
monochromatic
#2F2B1F #544D37 #796F4F #9D9068 #B5AC8E
Accessibility & contrast
On white
5.00
#796F4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#796F4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796F4F
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796F4F | 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)
#766E4D
Deuteranopia (green-blind)
#787150
Tritanopia (blue-blind)
#7F6A67
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #796f4f; /* rgb */ color: rgb(121, 111, 79); /* oklch */ color: oklch(54.2% 0.048 92.8);
Tailwind
colors: {
custom: {
50: '#a09880',
500: '#796f4f',
950: '#000000',
},
}SCSS
$custom: #796f4f; $custom-light: #a09880; $custom-dark: #000000;
JSON
{
"hex": "#796f4f",
"rgb": {
"r": 121,
"g": 111,
"b": 79
},
"hsl": {
"h": 45.714,
"s": 21,
"l": 39.216
},
"oklch": {
"l": 0.54243,
"c": 0.04819,
"h": 92.8
},
"luminance": 0.15998
}Semantic roles & 50–950 ramp
primary
#796F4F
secondary
#828AA2
accent
#7EBE6A
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0D0A
muted
#7E7E7C