#796C2F#796C2F
#796C2F is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.0% C 0.083 H 97.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #796C2F |
|---|---|
| RGB | rgb(121, 108, 47) |
| HSL | hsl(49, 44%, 33%) |
| HSV | hsv(49, 61%, 47%) |
| CMYK | cmyk(0%, 10.7%, 61.2%, 52.5%) |
| CIE-LAB | lab(45.63, -3.09, 35.32) |
| CIE-LCH | lch(45.63, 35.45, 95.00°) |
| OKLab | oklab(53.02% -0.0106 0.0818) |
| OKLCH | oklch(53.02% 0.083 97.4) |
| XYZ | xyz(13.7614, 14.9959, 4.8584) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 5.27
Greenish Brown
#696112
ΔE00 5.61
Browny Green
#6F6C0A
ΔE00 5.87
Ugly Brown
#7D7103
ΔE00 6.07
Greeny Brown
#696006
ΔE00 6.32
Mud
#735C12
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796C2F #2F3C79
analogous
#79472F #796C2F #61792F
triadic
#796C2F #2F796C #6C2F79
tetradic
#796C2F #2F7947 #2F3C79 #792F61
square
#796C2F #2F7947 #2F3C79 #792F61
split-complementary
#796C2F #2F6179 #472F79
monochromatic
#211D0D #4D451E #796C2F #A59340 #C2B161
Accessibility & contrast
On white
5.25
#796C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#796C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796C2F
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796C2F | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766929
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#82655F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #796c2f; /* rgb */ color: rgb(121, 108, 47); /* oklch */ color: oklch(53.0% 0.083 97.4);
Tailwind
colors: {
custom: {
50: '#a2956a',
500: '#796c2f',
950: '#000000',
},
}SCSS
$custom: #796c2f; $custom-light: #a2956a; $custom-dark: #000000;
JSON
{
"hex": "#796c2f",
"rgb": {
"r": 121,
"g": 108,
"b": 47
},
"hsl": {
"h": 49.459,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.53024,
"c": 0.08253,
"h": 97.4
},
"luminance": 0.14995
}Semantic roles & 50–950 ramp
primary
#796C2F
secondary
#5B69A8
accent
#6AD454
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D06
muted
#7F7E7A