#d8a040 ≈ Indian Yellow
#d8a040 is a color from the orange family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 62.75% green and 25.1% blue; printed in CMYK it uses 0% cyan, 25.93% magenta, 70.37% yellow and 15.29% black. Its hue angle is 37.89°, with 66.09% saturation and 54.9% lightness in HSL. It is a warm color, often associated with enthusiasm, warmth and creativity. Designers typically use it for call-to-action buttons, food and restaurant brands and brand accents. Black text on this color reaches a contrast ratio of 9.02:1 (WCAG AAA). The closest named color is Indian Yellow (#e3a857), ΔE 3.79.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4011 |
Shades
#d8a040 mixed progressively with black.
Tints
#d8a040 mixed progressively with white.
Tones
#d8a040 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8a040 {
color: #d8a040;
}
.bg-d8a040 {
background-color: #d8a040;
color: #000000;
}
.border-d8a040 {
border: 2px solid #d8a040;
}
:root {
--color-primary: #d8a040;
--color-primary-rgb: 216 160 64;
--color-primary-hsl: 38 66% 55%;
}
.gradient-d8a040 {
background: linear-gradient(135deg, #d8a040, #c4d840);
}
.shadow-d8a040 {
box-shadow: 0 8px 24px rgb(216 160 64 / 0.35);
}
Indian Yellow
#d8a040 rgb(216, 160, 64) hsl(38, 66%, 55%) Indian Yellow
#4078d8 rgb(64, 120, 216) hsl(218, 66%, 55%) Tufts Blue
#40d8a0 rgb(64, 216, 160) hsl(158, 66%, 55%) Caribbean Green
#a040d8 rgb(160, 64, 216) hsl(278, 66%, 55%) Dark Orchid