#796A2C#796A2C
#796A2C is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.5% C 0.084 H 95.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #796A2C |
|---|---|
| RGB | rgb(121, 106, 44) |
| HSL | hsl(48, 47%, 32%) |
| HSV | hsv(48, 64%, 47%) |
| CMYK | cmyk(0%, 12.4%, 63.6%, 52.5%) |
| CIE-LAB | lab(45.02, -2.17, 36.15) |
| CIE-LCH | lch(45.02, 36.22, 93.44°) |
| OKLab | oklab(52.53% -0.0084 0.0832) |
| OKLCH | oklch(52.53% 0.084 95.8) |
| XYZ | xyz(13.4944, 14.5555, 4.4811) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 5.30
Brown Green
#706C11
ΔE00 5.50
Mud
#735C12
ΔE00 5.76
Greeny Brown
#696006
ΔE00 5.93
Browny Green
#6F6C0A
ΔE00 6.08
Ugly Brown
#7D7103
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796A2C #2C3B79
analogous
#79442C #796A2C #61792C
triadic
#796A2C #2C796A #6A2C79
tetradic
#796A2C #2C7944 #2C3B79 #792C61
square
#796A2C #2C7944 #2C3B79 #792C61
split-complementary
#796A2C #2C6179 #442C79
monochromatic
#1F1B0B #4C431C #796A2C #A6913C #C4AF5C
Accessibility & contrast
On white
5.37
#796A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#796A2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796A2C
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796A2C | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746825
Deuteranopia (green-blind)
#786D2F
Tritanopia (blue-blind)
#82625C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #796a2c; /* rgb */ color: rgb(121, 106, 44); /* oklch */ color: oklch(52.5% 0.084 95.8);
Tailwind
colors: {
custom: {
50: '#a29468',
500: '#796a2c',
950: '#000000',
},
}SCSS
$custom: #796a2c; $custom-light: #a29468; $custom-dark: #000000;
JSON
{
"hex": "#796a2c",
"rgb": {
"r": 121,
"g": 106,
"b": 44
},
"hsl": {
"h": 48.312,
"s": 46.667,
"l": 32.353
},
"oklch": {
"l": 0.52531,
"c": 0.08362,
"h": 95.8
},
"luminance": 0.14555
}Semantic roles & 50–950 ramp
primary
#796A2C
secondary
#5767AA
accent
#6BD651
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A