#d2971f ≈ Gamboge
#d2971f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 59.22% green and 12.16% blue; printed in CMYK it uses 0% cyan, 28.1% magenta, 85.24% yellow and 17.65% black. Its hue angle is 40.22°, with 74.27% saturation and 47.25% 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.19:1 (WCAG AAA). The closest named color is Gamboge (#e49b0f), ΔE 3.82.
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.3593 |
Shades
#d2971f mixed progressively with black.
Tints
#d2971f mixed progressively with white.
Tones
#d2971f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2971f {
color: #d2971f;
}
.bg-d2971f {
background-color: #d2971f;
color: #000000;
}
.border-d2971f {
border: 2px solid #d2971f;
}
:root {
--color-primary: #d2971f;
--color-primary-rgb: 210 151 31;
--color-primary-hsl: 40 74% 47%;
}
.gradient-d2971f {
background: linear-gradient(135deg, #d2971f, #b3d21f);
}
.shadow-d2971f {
box-shadow: 0 8px 24px rgb(210 151 31 / 0.35);
}
Gamboge
#d2971f rgb(210, 151, 31) hsl(40, 74%, 47%) Gamboge
#1f5ad2 rgb(31, 90, 210) hsl(220, 74%, 47%) Sapphire
#1fd297 rgb(31, 210, 151) hsl(160, 74%, 47%) Caribbean Green
#971fd2 rgb(151, 31, 210) hsl(280, 74%, 47%) Dark Violet