#798d2e ≈ Olive Drab
#798d2e is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 47.45% red, 55.29% green and 18.04% blue; printed in CMYK it uses 14.18% cyan, 0% magenta, 67.38% yellow and 44.71% black. Its hue angle is 72.63°, with 50.8% saturation and 36.67% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and brand accents. Black text on this color reaches a contrast ratio of 5.66:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 3.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #669933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2331 |
Shades
#798d2e mixed progressively with black.
Tints
#798d2e mixed progressively with white.
Tones
#798d2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-798d2e {
color: #798d2e;
}
.bg-798d2e {
background-color: #798d2e;
color: #000000;
}
.border-798d2e {
border: 2px solid #798d2e;
}
:root {
--color-primary: #798d2e;
--color-primary-rgb: 121 141 46;
--color-primary-hsl: 73 51% 37%;
}
.gradient-798d2e {
background: linear-gradient(135deg, #798d2e, #4a8d2e);
}
.shadow-798d2e {
box-shadow: 0 8px 24px rgb(121 141 46 / 0.35);
}
Olive Drab
#798d2e rgb(121, 141, 46) hsl(73, 51%, 37%) Olive Drab
#422e8d rgb(66, 46, 141) hsl(253, 51%, 37%) Dark Slate Blue
#2e798d rgb(46, 121, 141) hsl(193, 51%, 37%) Teal Blue
#8d2e79 rgb(141, 46, 121) hsl(313, 51%, 37%) Deep Plum