#796D2E#796D2E
#796D2E is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.084 H 98.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #796D2E |
|---|---|
| RGB | rgb(121, 109, 46) |
| HSL | hsl(50, 45%, 33%) |
| HSV | hsv(50, 62%, 47%) |
| CMYK | cmyk(0%, 9.9%, 62%, 52.5%) |
| CIE-LAB | lab(45.91, -3.74, 36.14) |
| CIE-LCH | lch(45.91, 36.33, 95.92°) |
| OKLab | oklab(53.24% -0.0126 0.0835) |
| OKLCH | oklch(53.24% 0.084 98.6) |
| XYZ | xyz(13.8475, 15.2001, 4.7887) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 4.81
Browny Green
#6F6C0A
ΔE00 5.42
Greenish Brown
#696112
ΔE00 5.58
Ugly Brown
#7D7103
ΔE00 5.64
Greeny Brown
#696006
ΔE00 6.28
Olive Drab
#6F7632
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796D2E #2E3A79
analogous
#79472E #796D2E #5F792E
triadic
#796D2E #2E796D #6D2E79
tetradic
#796D2E #2E7947 #2E3A79 #792E5F
square
#796D2E #2E7947 #2E3A79 #792E5F
split-complementary
#796D2E #2E5F79 #472E79
monochromatic
#201D0C #4D451D #796D2E #A5953F #C2B25F
Accessibility & contrast
On white
5.20
#796D2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#796D2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796D2E
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796D2E | 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)
#776A27
Deuteranopia (green-blind)
#7A6F31
Tritanopia (blue-blind)
#82655F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #796d2e; /* rgb */ color: rgb(121, 109, 46); /* oklch */ color: oklch(53.2% 0.084 98.6);
Tailwind
colors: {
custom: {
50: '#a29669',
500: '#796d2e',
950: '#000000',
},
}SCSS
$custom: #796d2e; $custom-light: #a29669; $custom-dark: #000000;
JSON
{
"hex": "#796d2e",
"rgb": {
"r": 121,
"g": 109,
"b": 46
},
"hsl": {
"h": 50.4,
"s": 44.91,
"l": 32.745
},
"oklch": {
"l": 0.53241,
"c": 0.08441,
"h": 98.6
},
"luminance": 0.15199
}Semantic roles & 50–950 ramp
primary
#796D2E
secondary
#5A67A9
accent
#68D553
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A