#798e17 ≈ Olive Drab
#798e17 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.69% green and 9.02% blue; printed in CMYK it uses 14.79% cyan, 0% magenta, 83.8% yellow and 44.31% black. Its hue angle is 70.59°, with 72.12% saturation and 32.35% 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 corporate identities. Black text on this color reaches a contrast ratio of 5.69:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 3.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #669900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2347 |
Shades
#798e17 mixed progressively with black.
Tints
#798e17 mixed progressively with white.
Tones
#798e17 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-798e17 {
color: #798e17;
}
.bg-798e17 {
background-color: #798e17;
color: #000000;
}
.border-798e17 {
border: 2px solid #798e17;
}
:root {
--color-primary: #798e17;
--color-primary-rgb: 121 142 23;
--color-primary-hsl: 71 72% 32%;
}
.gradient-798e17 {
background: linear-gradient(135deg, #798e17, #3d8e17);
}
.shadow-798e17 {
box-shadow: 0 8px 24px rgb(121 142 23 / 0.35);
}
Olive Drab
#798e17 rgb(121, 142, 23) hsl(71, 72%, 32%) Olive Drab
#2c178e rgb(44, 23, 142) hsl(251, 72%, 32%) Phthalo Blue
#17798e rgb(23, 121, 142) hsl(191, 72%, 32%) Teal Blue
#8e1779 rgb(142, 23, 121) hsl(311, 72%, 32%) Mardi Gras