#dfa702 ≈ Goldenrod
#dfa702 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 65.49% green and 0.78% blue; printed in CMYK it uses 0% cyan, 25.11% magenta, 99.1% yellow and 12.55% black. Its hue angle is 44.8°, with 98.22% saturation and 44.12% 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 9.67:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.62.
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.4333 |
Shades
#dfa702 mixed progressively with black.
Tints
#dfa702 mixed progressively with white.
Tones
#dfa702 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfa702 {
color: #dfa702;
}
.bg-dfa702 {
background-color: #dfa702;
color: #000000;
}
.border-dfa702 {
border: 2px solid #dfa702;
}
:root {
--color-primary: #dfa702;
--color-primary-rgb: 223 167 2;
--color-primary-hsl: 45 98% 44%;
}
.gradient-dfa702 {
background: linear-gradient(135deg, #dfa702, #a8df02);
}
.shadow-dfa702 {
box-shadow: 0 8px 24px rgb(223 167 2 / 0.35);
}
Goldenrod
#dfa702 rgb(223, 167, 2) hsl(45, 98%, 44%) Goldenrod
#023adf rgb(2, 58, 223) hsl(225, 98%, 44%) Persian Blue
#02dfa7 rgb(2, 223, 167) hsl(165, 98%, 44%) Caribbean Green
#a702df rgb(167, 2, 223) hsl(285, 98%, 44%) Dark Orchid