#796A2B#796A2B
#796A2B is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.5% C 0.085 H 95.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #796A2B |
|---|---|
| RGB | rgb(121, 106, 43) |
| HSL | hsl(48, 48%, 32%) |
| HSV | hsv(48, 64%, 47%) |
| CMYK | cmyk(0%, 12.4%, 64.5%, 52.5%) |
| CIE-LAB | lab(45.01, -2.25, 36.64) |
| CIE-LCH | lch(45.01, 36.71, 93.51°) |
| OKLab | oklab(52.52% -0.0087 0.0841) |
| OKLCH | oklch(52.52% 0.085 95.9) |
| XYZ | xyz(13.4758, 14.5481, 4.3833) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 5.20
Brown Green
#706C11
ΔE00 5.35
Mud
#735C12
ΔE00 5.71
Greeny Brown
#696006
ΔE00 5.80
Browny Green
#6F6C0A
ΔE00 5.93
Ugly Brown
#7D7103
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796A2B #2B3A79
analogous
#79432B #796A2B #61792B
triadic
#796A2B #2B796A #6A2B79
tetradic
#796A2B #2B7943 #2B3A79 #792B61
square
#796A2B #2B7943 #2B3A79 #792B61
split-complementary
#796A2B #2B6179 #432B79
monochromatic
#1F1B0B #4C421B #796A2B #A6923B #C4B05A
Accessibility & contrast
On white
5.37
#796A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#796A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796A2B
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796A2B | 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)
#746824
Deuteranopia (green-blind)
#786D2E
Tritanopia (blue-blind)
#82625C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #796a2b; /* rgb */ color: rgb(121, 106, 43); /* oklch */ color: oklch(52.5% 0.085 95.9);
Tailwind
colors: {
custom: {
50: '#a29467',
500: '#796a2b',
950: '#000000',
},
}SCSS
$custom: #796a2b; $custom-light: #a29467; $custom-dark: #000000;
JSON
{
"hex": "#796a2b",
"rgb": {
"r": 121,
"g": 106,
"b": 43
},
"hsl": {
"h": 48.462,
"s": 47.561,
"l": 32.157
},
"oklch": {
"l": 0.5252,
"c": 0.08455,
"h": 95.9
},
"luminance": 0.14547
}Semantic roles & 50–950 ramp
primary
#796A2B
secondary
#5666AA
accent
#6BD751
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A