#dcc728 ≈ Citrine
#dcc728 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 78.04% green and 15.69% blue; printed in CMYK it uses 0% cyan, 9.55% magenta, 81.82% yellow and 13.73% black. Its hue angle is 53°, with 72% saturation and 50.98% 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 12.24:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.73.
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.5622 |
Shades
#dcc728 mixed progressively with black.
Tints
#dcc728 mixed progressively with white.
Tones
#dcc728 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc728 {
color: #dcc728;
}
.bg-dcc728 {
background-color: #dcc728;
color: #000000;
}
.border-dcc728 {
border: 2px solid #dcc728;
}
:root {
--color-primary: #dcc728;
--color-primary-rgb: 220 199 40;
--color-primary-hsl: 53 72% 51%;
}
.gradient-dcc728 {
background: linear-gradient(135deg, #dcc728, #97dc28);
}
.shadow-dcc728 {
box-shadow: 0 8px 24px rgb(220 199 40 / 0.35);
}
Citrine
#dcc728 rgb(220, 199, 40) hsl(53, 72%, 51%) Citrine
#283ddc rgb(40, 61, 220) hsl(233, 72%, 51%) Persian Blue
#28dcc7 rgb(40, 220, 199) hsl(173, 72%, 51%) Turquoise
#c728dc rgb(199, 40, 220) hsl(293, 72%, 51%) Electric Purple