#dfa522 ≈ Goldenrod
#dfa522 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 64.71% green and 13.33% blue; printed in CMYK it uses 0% cyan, 26.01% magenta, 84.75% yellow and 12.55% black. Its hue angle is 41.59°, with 74.7% saturation and 50.39% 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 9.54:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.43.
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.4271 |
Shades
#dfa522 mixed progressively with black.
Tints
#dfa522 mixed progressively with white.
Tones
#dfa522 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfa522 {
color: #dfa522;
}
.bg-dfa522 {
background-color: #dfa522;
color: #000000;
}
.border-dfa522 {
border: 2px solid #dfa522;
}
:root {
--color-primary: #dfa522;
--color-primary-rgb: 223 165 34;
--color-primary-hsl: 42 75% 50%;
}
.gradient-dfa522 {
background: linear-gradient(135deg, #dfa522, #badf22);
}
.shadow-dfa522 {
box-shadow: 0 8px 24px rgb(223 165 34 / 0.35);
}
Goldenrod
#dfa522 rgb(223, 165, 34) hsl(42, 75%, 50%) Goldenrod
#225cdf rgb(34, 92, 223) hsl(222, 75%, 50%) Royal Blue
#22dfa5 rgb(34, 223, 165) hsl(162, 75%, 50%) Caribbean Green
#a522df rgb(165, 34, 223) hsl(282, 75%, 50%) Dark Orchid