#628d20 ≈ Olive Drab
#628d20 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, 55.29% green and 12.55% blue; printed in CMYK it uses 30.5% cyan, 0% magenta, 77.3% yellow and 44.71% black. Its hue angle is 83.67°, with 63.01% saturation and 33.92% 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 corporate identities. Black text on this color reaches a contrast ratio of 5.35:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 1.75.
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.2175 |
Shades
#628d20 mixed progressively with black.
Tints
#628d20 mixed progressively with white.
Tones
#628d20 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-628d20 {
color: #628d20;
}
.bg-628d20 {
background-color: #628d20;
color: #000000;
}
.border-628d20 {
border: 2px solid #628d20;
}
:root {
--color-primary: #628d20;
--color-primary-rgb: 98 141 32;
--color-primary-hsl: 84 63% 34%;
}
.gradient-628d20 {
background: linear-gradient(135deg, #628d20, #2b8d20);
}
.shadow-628d20 {
box-shadow: 0 8px 24px rgb(98 141 32 / 0.35);
}
Olive Drab
#628d20 rgb(98, 141, 32) hsl(84, 63%, 34%) Olive Drab
#4b208d rgb(75, 32, 141) hsl(264, 63%, 34%) Indigo
#20628d rgb(32, 98, 141) hsl(204, 63%, 34%) Medium Persian Blue
#8d2062 rgb(141, 32, 98) hsl(324, 63%, 34%) Boysenberry