#796F41#796F41
#796F41 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.066 H 97.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #796F41 |
|---|---|
| RGB | rgb(121, 111, 65) |
| HSL | hsl(49, 30%, 36%) |
| HSV | hsv(49, 46%, 47%) |
| CMYK | cmyk(0%, 8.3%, 46.3%, 52.5%) |
| CIE-LAB | lab(46.73, -3.08, 26.96) |
| CIE-LCH | lch(46.73, 27.13, 96.53°) |
| OKLab | oklab(53.97% -0.0085 0.0653) |
| OKLCH | oklch(53.97% 0.066 97.4) |
| XYZ | xyz(14.5241, 15.8160, 7.2877) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 6.03
Greyish Brown
#7A6A4F
ΔE00 6.98
Olive Drab
#6F7632
ΔE00 7.29
Dirt
#8A6E45
ΔE00 7.71
Dull Brown
#876E4B
ΔE00 7.73
Brown Green
#706C11
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796F41 #414B79
analogous
#795341 #796F41 #677941
triadic
#796F41 #41796F #6F4179
tetradic
#796F41 #417953 #414B79 #794167
square
#796F41 #417953 #414B79 #794167
split-complementary
#796F41 #416779 #534179
monochromatic
#292616 #514A2C #796F41 #A19456 #B9AE7C
Accessibility & contrast
On white
5.04
#796F41 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#796F41 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796F41
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796F41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796F41 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776D3D
Deuteranopia (green-blind)
#7A7043
Tritanopia (blue-blind)
#816964
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #796f41; /* rgb */ color: rgb(121, 111, 65); /* oklch */ color: oklch(54.0% 0.066 97.4);
Tailwind
colors: {
custom: {
50: '#a19876',
500: '#796f41',
950: '#000000',
},
}SCSS
$custom: #796f41; $custom-light: #a19876; $custom-dark: #000000;
JSON
{
"hex": "#796f41",
"rgb": {
"r": 121,
"g": 111,
"b": 65
},
"hsl": {
"h": 49.286,
"s": 30.108,
"l": 36.471
},
"oklch": {
"l": 0.53974,
"c": 0.0658,
"h": 97.4
},
"luminance": 0.15815
}Semantic roles & 50–950 ramp
primary
#796F41
secondary
#727BA3
accent
#73C661
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B