#afa36f ≈ Ecru
#afa36f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 63.92% green and 43.53% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 36.57% yellow and 31.37% black. Its hue angle is 48.75°, with 28.57% saturation and 56.08% 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.29:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.83.
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.3646 |
Shades
#afa36f mixed progressively with black.
Tints
#afa36f mixed progressively with white.
Tones
#afa36f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa36f {
color: #afa36f;
}
.bg-afa36f {
background-color: #afa36f;
color: #000000;
}
.border-afa36f {
border: 2px solid #afa36f;
}
:root {
--color-primary: #afa36f;
--color-primary-rgb: 175 163 111;
--color-primary-hsl: 49 29% 56%;
}
.gradient-afa36f {
background: linear-gradient(135deg, #afa36f, #9baf6f);
}
.shadow-afa36f {
box-shadow: 0 8px 24px rgb(175 163 111 / 0.35);
}
Ecru
#afa36f rgb(175, 163, 111) hsl(49, 29%, 56%) Ecru
#6f7baf rgb(111, 123, 175) hsl(229, 29%, 56%) Glaucous
#6fafa3 rgb(111, 175, 163) hsl(169, 29%, 56%) Verdigris
#a36faf rgb(163, 111, 175) hsl(289, 29%, 56%) Purple Mountain Majesty