#dfc027 ≈ Old Gold
#dfc027 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 75.29% green and 15.29% blue; printed in CMYK it uses 0% cyan, 13.9% magenta, 82.51% yellow and 12.55% black. Its hue angle is 49.89°, with 74.19% saturation and 51.37% 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 11.71:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.12.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5353 |
Shades
#dfc027 mixed progressively with black.
Tints
#dfc027 mixed progressively with white.
Tones
#dfc027 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfc027 {
color: #dfc027;
}
.bg-dfc027 {
background-color: #dfc027;
color: #000000;
}
.border-dfc027 {
border: 2px solid #dfc027;
}
:root {
--color-primary: #dfc027;
--color-primary-rgb: 223 192 39;
--color-primary-hsl: 50 74% 51%;
}
.gradient-dfc027 {
background: linear-gradient(135deg, #dfc027, #a2df27);
}
.shadow-dfc027 {
box-shadow: 0 8px 24px rgb(223 192 39 / 0.35);
}
Old Gold
#dfc027 rgb(223, 192, 39) hsl(50, 74%, 51%) Old Gold
#2746df rgb(39, 70, 223) hsl(230, 74%, 51%) Iris
#27dfc0 rgb(39, 223, 192) hsl(170, 74%, 51%) Turquoise
#c027df rgb(192, 39, 223) hsl(290, 74%, 51%) Electric Purple