#796a2e ≈ Field Drab
#796a2e is a color from the yellow family, with low lightness and moderate saturation. In the RGB model it is made of 47.45% red, 41.57% green and 18.04% blue; printed in CMYK it uses 0% cyan, 12.4% magenta, 61.98% yellow and 52.55% black. Its hue angle is 48°, with 44.91% saturation and 32.75% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and corporate identities. White text on this color reaches a contrast ratio of 5.37:1 (WCAG AA). The closest named color is Field Drab (#6c541e), ΔE 8.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1457 |
Shades
#796a2e mixed progressively with black.
Tints
#796a2e mixed progressively with white.
Tones
#796a2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-796a2e {
color: #796a2e;
}
.bg-796a2e {
background-color: #796a2e;
color: #ffffff;
}
.border-796a2e {
border: 2px solid #796a2e;
}
:root {
--color-primary: #796a2e;
--color-primary-rgb: 121 106 46;
--color-primary-hsl: 48 45% 33%;
}
.gradient-796a2e {
background: linear-gradient(135deg, #796a2e, #63792e);
}
.shadow-796a2e {
box-shadow: 0 8px 24px rgb(121 106 46 / 0.35);
}
Field Drab
#796a2e rgb(121, 106, 46) hsl(48, 45%, 33%) Field Drab
#2e3d79 rgb(46, 61, 121) hsl(228, 45%, 33%) Dark Slate Blue
#2e796a rgb(46, 121, 106) hsl(168, 45%, 33%) Pine Green
#6a2e79 rgb(106, 46, 121) hsl(288, 45%, 33%) Eminence