#796A2F#796A2F
#796A2F is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.081 H 95.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #796A2F |
|---|---|
| RGB | rgb(121, 106, 47) |
| HSL | hsl(48, 44%, 33%) |
| HSV | hsv(48, 61%, 47%) |
| CMYK | cmyk(0%, 12.4%, 61.2%, 52.5%) |
| CIE-LAB | lab(45.05, -1.94, 34.66) |
| CIE-LCH | lch(45.05, 34.72, 93.20°) |
| OKLab | oklab(52.57% -0.0073 0.0804) |
| OKLCH | oklch(52.57% 0.081 95.2) |
| XYZ | xyz(13.5528, 14.5789, 4.7889) |
| Luminance | 0.1458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Brown
#696112
ΔE00 5.64
Brown Green
#706C11
ΔE00 5.96
Mud
#735C12
ΔE00 5.96
Greeny Brown
#696006
ΔE00 6.33
Browny Green
#6F6C0A
ΔE00 6.55
Ugly Brown
#7D7103
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796A2F #2F3E79
analogous
#79452F #796A2F #63792F
triadic
#796A2F #2F796A #6A2F79
tetradic
#796A2F #2F7945 #2F3E79 #792F63
square
#796A2F #2F7945 #2F3E79 #792F63
split-complementary
#796A2F #2F6379 #452F79
monochromatic
#211D0D #4D431E #796A2F #A59140 #C2AE61
Accessibility & contrast
On white
5.36
#796A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#796A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796A2F
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796A2F | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746829
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#82625D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #796a2f; /* rgb */ color: rgb(121, 106, 47); /* oklch */ color: oklch(52.6% 0.081 95.2);
Tailwind
colors: {
custom: {
50: '#a2946a',
500: '#796a2f',
950: '#000000',
},
}SCSS
$custom: #796a2f; $custom-light: #a2946a; $custom-dark: #000000;
JSON
{
"hex": "#796a2f",
"rgb": {
"r": 121,
"g": 106,
"b": 47
},
"hsl": {
"h": 47.838,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.52568,
"c": 0.08076,
"h": 95.2
},
"luminance": 0.14578
}Semantic roles & 50–950 ramp
primary
#796A2F
secondary
#5B6BA8
accent
#6ED454
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A