#afcf2b ≈ Yellow Green
#afcf2b 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, 81.18% green and 16.86% blue; printed in CMYK it uses 15.46% cyan, 0% magenta, 79.23% yellow and 18.82% black. Its hue angle is 71.71°, with 65.6% saturation and 49.02% 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.78:1 (WCAG AAA). The closest named color is Yellow Green (#9acd32), ΔE 4.02.
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.5391 |
Shades
#afcf2b mixed progressively with black.
Tints
#afcf2b mixed progressively with white.
Tones
#afcf2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afcf2b {
color: #afcf2b;
}
.bg-afcf2b {
background-color: #afcf2b;
color: #000000;
}
.border-afcf2b {
border: 2px solid #afcf2b;
}
:root {
--color-primary: #afcf2b;
--color-primary-rgb: 175 207 43;
--color-primary-hsl: 72 66% 49%;
}
.gradient-afcf2b {
background: linear-gradient(135deg, #afcf2b, #5dcf2b);
}
.shadow-afcf2b {
box-shadow: 0 8px 24px rgb(175 207 43 / 0.35);
}
Yellow Green
#afcf2b rgb(175, 207, 43) hsl(72, 66%, 49%) Yellow Green
#4b2bcf rgb(75, 43, 207) hsl(252, 66%, 49%) Han Purple
#2bafcf rgb(43, 175, 207) hsl(192, 66%, 49%) Moonstone Blue
#cf2baf rgb(207, 43, 175) hsl(312, 66%, 49%) Medium Violet Red