#dfc420 ≈ Citrine
#dfc420 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 76.86% green and 12.55% blue; printed in CMYK it uses 0% cyan, 12.11% magenta, 85.65% yellow and 12.55% black. Its hue angle is 51.52°, with 74.9% saturation and 50% 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.05:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.48.
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.5527 |
Shades
#dfc420 mixed progressively with black.
Tints
#dfc420 mixed progressively with white.
Tones
#dfc420 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfc420 {
color: #dfc420;
}
.bg-dfc420 {
background-color: #dfc420;
color: #000000;
}
.border-dfc420 {
border: 2px solid #dfc420;
}
:root {
--color-primary: #dfc420;
--color-primary-rgb: 223 196 32;
--color-primary-hsl: 52 75% 50%;
}
.gradient-dfc420 {
background: linear-gradient(135deg, #dfc420, #9adf20);
}
.shadow-dfc420 {
box-shadow: 0 8px 24px rgb(223 196 32 / 0.35);
}
Citrine
#dfc420 rgb(223, 196, 32) hsl(52, 75%, 50%) Citrine
#203bdf rgb(32, 59, 223) hsl(232, 75%, 50%) Persian Blue
#20dfc4 rgb(32, 223, 196) hsl(172, 75%, 50%) Turquoise
#c420df rgb(196, 32, 223) hsl(292, 75%, 50%) Electric Purple