#d7940c ≈ Gamboge
#d7940c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 58.04% green and 4.71% blue; printed in CMYK it uses 0% cyan, 31.16% magenta, 94.42% yellow and 15.69% black. Its hue angle is 40.2°, with 89.43% saturation and 44.51% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.13:1 (WCAG AAA). The closest named color is Gamboge (#e49b0f), ΔE 2.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3565 |
Shades
#d7940c mixed progressively with black.
Tints
#d7940c mixed progressively with white.
Tones
#d7940c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7940c {
color: #d7940c;
}
.bg-d7940c {
background-color: #d7940c;
color: #000000;
}
.border-d7940c {
border: 2px solid #d7940c;
}
:root {
--color-primary: #d7940c;
--color-primary-rgb: 215 148 12;
--color-primary-hsl: 40 89% 45%;
}
.gradient-d7940c {
background: linear-gradient(135deg, #d7940c, #b4d70c);
}
.shadow-d7940c {
box-shadow: 0 8px 24px rgb(215 148 12 / 0.35);
}
Gamboge
#d7940c rgb(215, 148, 12) hsl(40, 89%, 45%) Gamboge
#0c4fd7 rgb(12, 79, 215) hsl(220, 89%, 45%) Sapphire
#0cd794 rgb(12, 215, 148) hsl(160, 89%, 45%) Caribbean Green
#940cd7 rgb(148, 12, 215) hsl(280, 89%, 45%) Dark Violet