#6ea228 ≈ Olive Drab
#6ea228 is a color from the yellow-green family, with low lightness and moderate saturation. In the RGB model it is made of 43.14% red, 63.53% green and 15.69% blue; printed in CMYK it uses 32.1% cyan, 0% magenta, 75.31% yellow and 36.47% black. Its hue angle is 85.57°, with 60.4% saturation and 39.61% 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.86:1 (WCAG AA). The closest named color is Olive Drab (#6b8e23), ΔE 6.54.
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.2931 |
Shades
#6ea228 mixed progressively with black.
Tints
#6ea228 mixed progressively with white.
Tones
#6ea228 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6ea228 {
color: #6ea228;
}
.bg-6ea228 {
background-color: #6ea228;
color: #000000;
}
.border-6ea228 {
border: 2px solid #6ea228;
}
:root {
--color-primary: #6ea228;
--color-primary-rgb: 110 162 40;
--color-primary-hsl: 86 60% 40%;
}
.gradient-6ea228 {
background: linear-gradient(135deg, #6ea228, #31a228);
}
.shadow-6ea228 {
box-shadow: 0 8px 24px rgb(110 162 40 / 0.35);
}
Olive Drab
#6ea228 rgb(110, 162, 40) hsl(86, 60%, 40%) Olive Drab
#5c28a2 rgb(92, 40, 162) hsl(266, 60%, 40%) Rebecca Purple
#286ea2 rgb(40, 110, 162) hsl(206, 60%, 40%) Medium Persian Blue
#a2286e rgb(162, 40, 110) hsl(326, 60%, 40%) Jazzberry Jam