#799d2c ≈ Olive Drab
#799d2c 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, 61.57% green and 17.25% blue; printed in CMYK it uses 22.93% cyan, 0% magenta, 71.97% yellow and 38.43% black. Its hue angle is 79.12°, with 56.22% saturation and 39.41% lightness in HSL. It sits between warm and cool, and is 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 6.67:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 5.13.
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.2836 |
Shades
#799d2c mixed progressively with black.
Tints
#799d2c mixed progressively with white.
Tones
#799d2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-799d2c {
color: #799d2c;
}
.bg-799d2c {
background-color: #799d2c;
color: #000000;
}
.border-799d2c {
border: 2px solid #799d2c;
}
:root {
--color-primary: #799d2c;
--color-primary-rgb: 121 157 44;
--color-primary-hsl: 79 56% 39%;
}
.gradient-799d2c {
background: linear-gradient(135deg, #799d2c, #409d2c);
}
.shadow-799d2c {
box-shadow: 0 8px 24px rgb(121 157 44 / 0.35);
}
Olive Drab
#799d2c rgb(121, 157, 44) hsl(79, 56%, 39%) Olive Drab
#502c9d rgb(80, 44, 157) hsl(259, 56%, 39%) Rebecca Purple
#2c799d rgb(44, 121, 157) hsl(199, 56%, 39%) Cerulean
#9d2c79 rgb(157, 44, 121) hsl(319, 56%, 39%) Deep Plum