#dfd42b ≈ Citrine
#dfd42b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 83.14% green and 16.86% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 80.72% yellow and 12.55% black. Its hue angle is 56.33°, with 73.77% saturation and 52.16% 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 13.59:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.59.
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.6295 |
Shades
#dfd42b mixed progressively with black.
Tints
#dfd42b mixed progressively with white.
Tones
#dfd42b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd42b {
color: #dfd42b;
}
.bg-dfd42b {
background-color: #dfd42b;
color: #000000;
}
.border-dfd42b {
border: 2px solid #dfd42b;
}
:root {
--color-primary: #dfd42b;
--color-primary-rgb: 223 212 43;
--color-primary-hsl: 56 74% 52%;
}
.gradient-dfd42b {
background: linear-gradient(135deg, #dfd42b, #90df2b);
}
.shadow-dfd42b {
box-shadow: 0 8px 24px rgb(223 212 43 / 0.35);
}
Citrine
#dfd42b rgb(223, 212, 43) hsl(56, 74%, 52%) Citrine
#2b36df rgb(43, 54, 223) hsl(236, 74%, 52%) Persian Blue
#2bdfd4 rgb(43, 223, 212) hsl(176, 74%, 52%) Turquoise
#d42bdf rgb(212, 43, 223) hsl(296, 74%, 52%) Medium Orchid