#628a2c ≈ Olive Drab
#628a2c is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 38.43% red, 54.12% green and 17.25% blue; printed in CMYK it uses 28.99% cyan, 0% magenta, 68.12% yellow and 45.88% black. Its hue angle is 85.53°, with 51.65% saturation and 35.69% 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 5.19:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 2.87.
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.2096 |
Shades
#628a2c mixed progressively with black.
Tints
#628a2c mixed progressively with white.
Tones
#628a2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-628a2c {
color: #628a2c;
}
.bg-628a2c {
background-color: #628a2c;
color: #000000;
}
.border-628a2c {
border: 2px solid #628a2c;
}
:root {
--color-primary: #628a2c;
--color-primary-rgb: 98 138 44;
--color-primary-hsl: 86 52% 36%;
}
.gradient-628a2c {
background: linear-gradient(135deg, #628a2c, #338a2c);
}
.shadow-628a2c {
box-shadow: 0 8px 24px rgb(98 138 44 / 0.35);
}
Olive Drab
#628a2c rgb(98, 138, 44) hsl(86, 52%, 36%) Olive Drab
#542c8a rgb(84, 44, 138) hsl(266, 52%, 36%) Rebecca Purple
#2c628a rgb(44, 98, 138) hsl(206, 52%, 36%) Lapis Lazuli
#8a2c62 rgb(138, 44, 98) hsl(326, 52%, 36%) Boysenberry