#afa674 ≈ Ecru
#afa674 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 68.63% red, 65.1% green and 45.49% blue; printed in CMYK it uses 0% cyan, 5.14% magenta, 33.71% yellow and 31.37% black. Its hue angle is 50.85°, with 26.94% saturation and 57.06% 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.53:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.55.
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.3765 |
Shades
#afa674 mixed progressively with black.
Tints
#afa674 mixed progressively with white.
Tones
#afa674 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa674 {
color: #afa674;
}
.bg-afa674 {
background-color: #afa674;
color: #000000;
}
.border-afa674 {
border: 2px solid #afa674;
}
:root {
--color-primary: #afa674;
--color-primary-rgb: 175 166 116;
--color-primary-hsl: 51 27% 57%;
}
.gradient-afa674 {
background: linear-gradient(135deg, #afa674, #9baf74);
}
.shadow-afa674 {
box-shadow: 0 8px 24px rgb(175 166 116 / 0.35);
}
Ecru
#afa674 rgb(175, 166, 116) hsl(51, 27%, 57%) Ecru
#747daf rgb(116, 125, 175) hsl(231, 27%, 57%) Glaucous
#74afa6 rgb(116, 175, 166) hsl(171, 27%, 57%) Verdigris
#a674af rgb(166, 116, 175) hsl(291, 27%, 57%) Purple Mountain Majesty