#afa073 ≈ Ecru
#afa073 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 68.63% red, 62.75% green and 45.1% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 34.29% yellow and 31.37% black. Its hue angle is 45°, with 27.27% saturation and 56.86% 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.1:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 5.3.
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.3549 |
Shades
#afa073 mixed progressively with black.
Tints
#afa073 mixed progressively with white.
Tones
#afa073 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa073 {
color: #afa073;
}
.bg-afa073 {
background-color: #afa073;
color: #000000;
}
.border-afa073 {
border: 2px solid #afa073;
}
:root {
--color-primary: #afa073;
--color-primary-rgb: 175 160 115;
--color-primary-hsl: 45 27% 57%;
}
.gradient-afa073 {
background: linear-gradient(135deg, #afa073, #a0af73);
}
.shadow-afa073 {
box-shadow: 0 8px 24px rgb(175 160 115 / 0.35);
}
Ecru
#afa073 rgb(175, 160, 115) hsl(45, 27%, 57%) Ecru
#7382af rgb(115, 130, 175) hsl(225, 27%, 57%) Glaucous
#73afa0 rgb(115, 175, 160) hsl(165, 27%, 57%) Verdigris
#a073af rgb(160, 115, 175) hsl(285, 27%, 57%) Purple Mountain Majesty