#a5fa2f ≈ Green Yellow
#a5fa2f is a color from the yellow-green family, with medium lightness and vivid saturation. In the RGB model it is made of 64.71% red, 98.04% green and 18.43% blue; printed in CMYK it uses 34% cyan, 0% magenta, 81.2% yellow and 1.96% black. Its hue angle is 85.12°, with 95.31% saturation and 58.24% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 16.32:1 (WCAG AAA). The closest named color is Green Yellow (#adff2f), ΔE 1.3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #99ff33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.7658 |
Shades
#a5fa2f mixed progressively with black.
Tints
#a5fa2f mixed progressively with white.
Tones
#a5fa2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a5fa2f {
color: #a5fa2f;
}
.bg-a5fa2f {
background-color: #a5fa2f;
color: #000000;
}
.border-a5fa2f {
border: 2px solid #a5fa2f;
}
:root {
--color-primary: #a5fa2f;
--color-primary-rgb: 165 250 47;
--color-primary-hsl: 85 95% 58%;
}
.gradient-a5fa2f {
background: linear-gradient(135deg, #a5fa2f, #40fa2f);
}
.shadow-a5fa2f {
box-shadow: 0 8px 24px rgb(165 250 47 / 0.35);
}
Green Yellow
#a5fa2f rgb(165, 250, 47) hsl(85, 95%, 58%) Green Yellow
#842ffa rgb(132, 47, 250) hsl(265, 95%, 58%) Electric Violet
#2fa5fa rgb(47, 165, 250) hsl(205, 95%, 58%) Carolina Blue
#fa2fa5 rgb(250, 47, 165) hsl(325, 95%, 58%) Persian Rose