#dfd315 ≈ Citrine
#dfd315 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 82.75% green and 8.24% blue; printed in CMYK it uses 0% cyan, 5.38% magenta, 90.58% yellow and 12.55% black. Its hue angle is 56.44°, with 82.79% saturation and 47.84% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 13.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6233 |
Shades
#dfd315 mixed progressively with black.
Tints
#dfd315 mixed progressively with white.
Tones
#dfd315 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd315 {
color: #dfd315;
}
.bg-dfd315 {
background-color: #dfd315;
color: #000000;
}
.border-dfd315 {
border: 2px solid #dfd315;
}
:root {
--color-primary: #dfd315;
--color-primary-rgb: 223 211 21;
--color-primary-hsl: 56 83% 48%;
}
.gradient-dfd315 {
background: linear-gradient(135deg, #dfd315, #86df15);
}
.shadow-dfd315 {
box-shadow: 0 8px 24px rgb(223 211 21 / 0.35);
}
Citrine
#dfd315 rgb(223, 211, 21) hsl(56, 83%, 48%) Citrine
#1521df rgb(21, 33, 223) hsl(236, 83%, 48%) Blue
#15dfd3 rgb(21, 223, 211) hsl(176, 83%, 48%) Turquoise
#d315df rgb(211, 21, 223) hsl(296, 83%, 48%) Electric Purple