#796F40#796F40
#796F40 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.067 H 97.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #796F40 |
|---|---|
| RGB | rgb(121, 111, 64) |
| HSL | hsl(49, 31%, 36%) |
| HSV | hsv(49, 47%, 47%) |
| CMYK | cmyk(0%, 8.3%, 47.1%, 52.5%) |
| CIE-LAB | lab(46.72, -3.19, 27.49) |
| CIE-LCH | lch(46.72, 27.68, 96.63°) |
| OKLab | oklab(53.96% -0.0089 0.0664) |
| OKLCH | oklch(53.96% 0.067 97.6) |
| XYZ | xyz(14.4954, 15.8045, 7.1365) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 6.24
Olive Drab
#6F7632
ΔE00 7.13
Greyish Brown
#7A6A4F
ΔE00 7.18
Dirt
#8A6E45
ΔE00 7.78
Dull Brown
#876E4B
ΔE00 7.85
Brown Green
#706C11
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796F40 #404A79
analogous
#795340 #796F40 #677940
triadic
#796F40 #40796F #6F4079
tetradic
#796F40 #407953 #404A79 #794067
square
#796F40 #407953 #404A79 #794067
split-complementary
#796F40 #406779 #534079
monochromatic
#292616 #514A2B #796F40 #A19455 #B9AE7A
Accessibility & contrast
On white
5.05
#796F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#796F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796F40
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796F40 | 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)
#776D3C
Deuteranopia (green-blind)
#7A7042
Tritanopia (blue-blind)
#816964
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #796f40; /* rgb */ color: rgb(121, 111, 64); /* oklch */ color: oklch(54.0% 0.067 97.6);
Tailwind
colors: {
custom: {
50: '#a19876',
500: '#796f40',
950: '#000000',
},
}SCSS
$custom: #796f40; $custom-light: #a19876; $custom-dark: #000000;
JSON
{
"hex": "#796f40",
"rgb": {
"r": 121,
"g": 111,
"b": 64
},
"hsl": {
"h": 49.474,
"s": 30.811,
"l": 36.275
},
"oklch": {
"l": 0.53957,
"c": 0.06699,
"h": 97.6
},
"luminance": 0.15804
}Semantic roles & 50–950 ramp
primary
#796F40
secondary
#717AA4
accent
#73C761
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B