#afa366 ≈ Ecru
#afa366 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 40% blue; printed in CMYK it uses 0% cyan, 6.86% magenta, 41.71% yellow and 31.37% black. Its hue angle is 50.14°, with 31.33% saturation and 54.31% 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.25:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 5.6.
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.3627 |
Shades
#afa366 mixed progressively with black.
Tints
#afa366 mixed progressively with white.
Tones
#afa366 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa366 {
color: #afa366;
}
.bg-afa366 {
background-color: #afa366;
color: #000000;
}
.border-afa366 {
border: 2px solid #afa366;
}
:root {
--color-primary: #afa366;
--color-primary-rgb: 175 163 102;
--color-primary-hsl: 50 31% 54%;
}
.gradient-afa366 {
background: linear-gradient(135deg, #afa366, #96af66);
}
.shadow-afa366 {
box-shadow: 0 8px 24px rgb(175 163 102 / 0.35);
}
Ecru
#afa366 rgb(175, 163, 102) hsl(50, 31%, 54%) Ecru
#6672af rgb(102, 114, 175) hsl(230, 31%, 54%) Glaucous
#66afa3 rgb(102, 175, 163) hsl(170, 31%, 54%) Verdigris
#a366af rgb(163, 102, 175) hsl(290, 31%, 54%) Purple Mountain Majesty