#799d2f ≈ Olive Drab
#799d2f is a color from the yellow-green family, with medium lightness and moderate saturation. In the RGB model it is made of 47.45% red, 61.57% green and 18.43% blue; printed in CMYK it uses 22.93% cyan, 0% magenta, 70.06% yellow and 38.43% black. Its hue angle is 79.64°, with 53.92% saturation and 40% 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.68:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 5.11.
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.2838 |
Shades
#799d2f mixed progressively with black.
Tints
#799d2f mixed progressively with white.
Tones
#799d2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-799d2f {
color: #799d2f;
}
.bg-799d2f {
background-color: #799d2f;
color: #000000;
}
.border-799d2f {
border: 2px solid #799d2f;
}
:root {
--color-primary: #799d2f;
--color-primary-rgb: 121 157 47;
--color-primary-hsl: 80 54% 40%;
}
.gradient-799d2f {
background: linear-gradient(135deg, #799d2f, #429d2f);
}
.shadow-799d2f {
box-shadow: 0 8px 24px rgb(121 157 47 / 0.35);
}
Olive Drab
#799d2f rgb(121, 157, 47) hsl(80, 54%, 40%) Olive Drab
#532f9d rgb(83, 47, 157) hsl(260, 54%, 40%) Rebecca Purple
#2f799d rgb(47, 121, 157) hsl(200, 54%, 40%) Cerulean
#9d2f79 rgb(157, 47, 121) hsl(320, 54%, 40%) Deep Plum