#afa370 ≈ Ecru
#afa370 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 68.63% red, 63.92% green and 43.92% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 36% yellow and 31.37% black. Its hue angle is 48.57°, with 28.25% saturation and 56.27% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 8.3:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.79.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3648 |
Shades
#afa370 mixed progressively with black.
Tints
#afa370 mixed progressively with white.
Tones
#afa370 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa370 {
color: #afa370;
}
.bg-afa370 {
background-color: #afa370;
color: #000000;
}
.border-afa370 {
border: 2px solid #afa370;
}
:root {
--color-primary: #afa370;
--color-primary-rgb: 175 163 112;
--color-primary-hsl: 49 28% 56%;
}
.gradient-afa370 {
background: linear-gradient(135deg, #afa370, #9baf70);
}
.shadow-afa370 {
box-shadow: 0 8px 24px rgb(175 163 112 / 0.35);
}
Ecru
#afa370 rgb(175, 163, 112) hsl(49, 28%, 56%) Ecru
#707caf rgb(112, 124, 175) hsl(229, 28%, 56%) Glaucous
#70afa3 rgb(112, 175, 163) hsl(169, 28%, 56%) Verdigris
#a370af rgb(163, 112, 175) hsl(289, 28%, 56%) Purple Mountain Majesty