#796E33#796E33
#796E33 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.5% C 0.080 H 98.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #796E33 |
|---|---|
| RGB | rgb(121, 110, 51) |
| HSL | hsl(51, 41%, 34%) |
| HSV | hsv(51, 58%, 47%) |
| CMYK | cmyk(0%, 9.1%, 57.9%, 52.5%) |
| CIE-LAB | lab(46.25, -3.90, 33.97) |
| CIE-LCH | lch(46.25, 34.19, 96.55°) |
| OKLab | oklab(53.53% -0.0125 0.0794) |
| OKLCH | oklch(53.53% 0.08 98.9) |
| XYZ | xyz(14.0591, 15.4564, 5.3741) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 5.42
Browny Green
#6F6C0A
ΔE00 6.02
Greenish Brown
#696112
ΔE00 6.20
Ugly Brown
#7D7103
ΔE00 6.37
Olive Drab
#6F7632
ΔE00 6.39
Greeny Brown
#696006
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#796E33 #333E79
analogous
#794B33 #796E33 #617933
triadic
#796E33 #33796E #6E3379
tetradic
#796E33 #33794B #333E79 #793361
square
#796E33 #33794B #333E79 #793361
split-complementary
#796E33 #336179 #4B3379
monochromatic
#23200F #4E4721 #796E33 #A49545 #BFB167
Accessibility & contrast
On white
5.13
#796E33 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#796E33 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #796E33
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##796E33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##796E33 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786B2D
Deuteranopia (green-blind)
#7B6F36
Tritanopia (blue-blind)
#826761
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #796e33; /* rgb */ color: rgb(121, 110, 51); /* oklch */ color: oklch(53.5% 0.080 98.9);
Tailwind
colors: {
custom: {
50: '#a2976d',
500: '#796e33',
950: '#000000',
},
}SCSS
$custom: #796e33; $custom-light: #a2976d; $custom-dark: #000000;
JSON
{
"hex": "#796e33",
"rgb": {
"r": 121,
"g": 110,
"b": 51
},
"hsl": {
"h": 50.571,
"s": 40.698,
"l": 33.725
},
"oklch": {
"l": 0.53533,
"c": 0.08041,
"h": 98.9
},
"luminance": 0.15456
}Semantic roles & 50–950 ramp
primary
#796E33
secondary
#616CA7
accent
#6AD157
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A