#796E2F#796E2F
#796E2F is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.084 H 99.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #796E2F |
|---|---|
| RGB | rgb(121, 110, 47) |
| HSL | hsl(51, 44%, 33%) |
| HSV | hsv(51, 61%, 47%) |
| CMYK | cmyk(0%, 9.1%, 61.2%, 52.5%) |
| CIE-LAB | lab(46.21, -4.24, 35.97) |
| CIE-LCH | lch(46.21, 36.22, 96.72°) |
| OKLab | oklab(53.48% -0.0139 0.0832) |
| OKLCH | oklch(53.48% 0.084 99.5) |
| XYZ | xyz(13.9747, 15.4226, 4.9295) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 4.73
Browny Green
#6F6C0A
ΔE00 5.33
Ugly Brown
#7D7103
ΔE00 5.62
Greenish Brown
#696112
ΔE00 5.79
Olive Drab
#6F7632
ΔE00 6.28
Greeny Brown
#696006
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796E2F #2F3A79
analogous
#79492F #796E2F #5F792F
triadic
#796E2F #2F796E #6E2F79
tetradic
#796E2F #2F7949 #2F3A79 #792F5F
square
#796E2F #2F7949 #2F3A79 #792F5F
split-complementary
#796E2F #2F5F79 #492F79
monochromatic
#211E0D #4D461E #796E2F #A59640 #C2B361
Accessibility & contrast
On white
5.14
#796E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#796E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796E2F
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796E2F | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B28
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#826760
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #796e2f; /* rgb */ color: rgb(121, 110, 47); /* oklch */ color: oklch(53.5% 0.084 99.5);
Tailwind
colors: {
custom: {
50: '#a2976a',
500: '#796e2f',
950: '#000000',
},
}SCSS
$custom: #796e2f; $custom-light: #a2976a; $custom-dark: #000000;
JSON
{
"hex": "#796e2f",
"rgb": {
"r": 121,
"g": 110,
"b": 47
},
"hsl": {
"h": 51.081,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.53483,
"c": 0.0844,
"h": 99.5
},
"luminance": 0.15422
}Semantic roles & 50–950 ramp
primary
#796E2F
secondary
#5B67A8
accent
#67D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A