#796D2F#796D2F
#796D2F is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.083 H 98.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #796D2F |
|---|---|
| RGB | rgb(121, 109, 47) |
| HSL | hsl(50, 44%, 33%) |
| HSV | hsv(50, 61%, 47%) |
| CMYK | cmyk(0%, 9.9%, 61.2%, 52.5%) |
| CIE-LAB | lab(45.92, -3.67, 35.65) |
| CIE-LCH | lch(45.92, 35.83, 95.87°) |
| OKLab | oklab(53.25% -0.0123 0.0825) |
| OKLCH | oklch(53.25% 0.083 98.5) |
| XYZ | xyz(13.8674, 15.2081, 4.8938) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 4.97
Browny Green
#6F6C0A
ΔE00 5.58
Greenish Brown
#696112
ΔE00 5.67
Ugly Brown
#7D7103
ΔE00 5.83
Greeny Brown
#696006
ΔE00 6.39
Olive Drab
#6F7632
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796D2F #2F3B79
analogous
#79482F #796D2F #60792F
triadic
#796D2F #2F796D #6D2F79
tetradic
#796D2F #2F7948 #2F3B79 #792F60
square
#796D2F #2F7948 #2F3B79 #792F60
split-complementary
#796D2F #2F6079 #482F79
monochromatic
#211E0D #4D451E #796D2F #A59540 #C2B261
Accessibility & contrast
On white
5.20
#796D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#796D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796D2F
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796D2F | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776A29
Deuteranopia (green-blind)
#7A6F32
Tritanopia (blue-blind)
#82665F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #796d2f; /* rgb */ color: rgb(121, 109, 47); /* oklch */ color: oklch(53.3% 0.083 98.5);
Tailwind
colors: {
custom: {
50: '#a2966a',
500: '#796d2f',
950: '#000000',
},
}SCSS
$custom: #796d2f; $custom-light: #a2966a; $custom-dark: #000000;
JSON
{
"hex": "#796d2f",
"rgb": {
"r": 121,
"g": 109,
"b": 47
},
"hsl": {
"h": 50.27,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.53253,
"c": 0.08345,
"h": 98.5
},
"luminance": 0.15207
}Semantic roles & 50–950 ramp
primary
#796D2F
secondary
#5B68A8
accent
#69D454
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A