#796F3F#796F3F
#796F3F is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.068 H 97.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #796F3F |
|---|---|
| RGB | rgb(121, 111, 63) |
| HSL | hsl(50, 32%, 36%) |
| HSV | hsv(50, 48%, 47%) |
| CMYK | cmyk(0%, 8.3%, 47.9%, 52.5%) |
| CIE-LAB | lab(46.70, -3.30, 28.03) |
| CIE-LCH | lch(46.70, 28.23, 96.72°) |
| OKLab | oklab(53.94% -0.0093 0.0675) |
| OKLCH | oklch(53.94% 0.068 97.9) |
| XYZ | xyz(14.4672, 15.7932, 6.9880) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 6.45
Olive Drab
#6F7632
ΔE00 6.98
Greyish Brown
#7A6A4F
ΔE00 7.37
Brown Green
#706C11
ΔE00 7.66
Dirt
#8A6E45
ΔE00 7.85
Dull Brown
#876E4B
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796F3F #3F4979
analogous
#79523F #796F3F #66793F
triadic
#796F3F #3F796F #6F3F79
tetradic
#796F3F #3F7952 #3F4979 #793F66
square
#796F3F #3F7952 #3F4979 #793F66
split-complementary
#796F3F #3F6679 #523F79
monochromatic
#292515 #514A2A #796F3F #A19454 #B9AE79
Accessibility & contrast
On white
5.05
#796F3F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#796F3F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796F3F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796F3F | 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)
#786D3B
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#816963
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #796f3f; /* rgb */ color: rgb(121, 111, 63); /* oklch */ color: oklch(53.9% 0.068 97.9);
Tailwind
colors: {
custom: {
50: '#a19875',
500: '#796f3f',
950: '#000000',
},
}SCSS
$custom: #796f3f; $custom-light: #a19875; $custom-dark: #000000;
JSON
{
"hex": "#796f3f",
"rgb": {
"r": 121,
"g": 111,
"b": 63
},
"hsl": {
"h": 49.655,
"s": 31.522,
"l": 36.078
},
"oklch": {
"l": 0.53941,
"c": 0.06817,
"h": 97.9
},
"luminance": 0.15793
}Semantic roles & 50–950 ramp
primary
#796F3F
secondary
#7079A4
accent
#72C860
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0D08
muted
#7F7E7B