#afa276 ≈ Ecru
#afa276 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.53% green and 46.27% blue; printed in CMYK it uses 0% cyan, 7.43% magenta, 32.57% yellow and 31.37% black. Its hue angle is 46.32°, with 26.27% saturation and 57.45% 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 4.94.
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.3626 |
Shades
#afa276 mixed progressively with black.
Tints
#afa276 mixed progressively with white.
Tones
#afa276 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa276 {
color: #afa276;
}
.bg-afa276 {
background-color: #afa276;
color: #000000;
}
.border-afa276 {
border: 2px solid #afa276;
}
:root {
--color-primary: #afa276;
--color-primary-rgb: 175 162 118;
--color-primary-hsl: 46 26% 57%;
}
.gradient-afa276 {
background: linear-gradient(135deg, #afa276, #9faf76);
}
.shadow-afa276 {
box-shadow: 0 8px 24px rgb(175 162 118 / 0.35);
}
Ecru
#afa276 rgb(175, 162, 118) hsl(46, 26%, 57%) Ecru
#7683af rgb(118, 131, 175) hsl(226, 26%, 57%) Glaucous
#76afa2 rgb(118, 175, 162) hsl(166, 26%, 57%) Verdigris
#a276af rgb(162, 118, 175) hsl(286, 26%, 57%) Purple Mountain Majesty