#afcc2b ≈ Yellow Green
#afcc2b is a color from the yellow-green family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 80% green and 16.86% blue; printed in CMYK it uses 14.22% cyan, 0% magenta, 78.92% yellow and 20% black. Its hue angle is 70.81°, with 65.18% saturation and 48.43% lightness in HSL. It is a warm color, 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 11.49:1 (WCAG AAA). The closest named color is Yellow Green (#9acd32), ΔE 4.31.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #99cc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5247 |
Shades
#afcc2b mixed progressively with black.
Tints
#afcc2b mixed progressively with white.
Tones
#afcc2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afcc2b {
color: #afcc2b;
}
.bg-afcc2b {
background-color: #afcc2b;
color: #000000;
}
.border-afcc2b {
border: 2px solid #afcc2b;
}
:root {
--color-primary: #afcc2b;
--color-primary-rgb: 175 204 43;
--color-primary-hsl: 71 65% 48%;
}
.gradient-afcc2b {
background: linear-gradient(135deg, #afcc2b, #5ecc2b);
}
.shadow-afcc2b {
box-shadow: 0 8px 24px rgb(175 204 43 / 0.35);
}
Yellow Green
#afcc2b rgb(175, 204, 43) hsl(71, 65%, 48%) Yellow Green
#482bcc rgb(72, 43, 204) hsl(251, 65%, 48%) Han Purple
#2bafcc rgb(43, 175, 204) hsl(191, 65%, 48%) Moonstone Blue
#cc2baf rgb(204, 43, 175) hsl(311, 65%, 48%) Medium Violet Red