#ddd40d ≈ Citrine
#ddd40d is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.67% red, 83.14% green and 5.1% blue; printed in CMYK it uses 0% cyan, 4.07% magenta, 94.12% yellow and 13.33% black. Its hue angle is 57.4°, with 88.89% saturation and 45.88% 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.5:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.66.
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.6249 |
Shades
#ddd40d mixed progressively with black.
Tints
#ddd40d mixed progressively with white.
Tones
#ddd40d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ddd40d {
color: #ddd40d;
}
.bg-ddd40d {
background-color: #ddd40d;
color: #000000;
}
.border-ddd40d {
border: 2px solid #ddd40d;
}
:root {
--color-primary: #ddd40d;
--color-primary-rgb: 221 212 13;
--color-primary-hsl: 57 89% 46%;
}
.gradient-ddd40d {
background: linear-gradient(135deg, #ddd40d, #7edd0d);
}
.shadow-ddd40d {
box-shadow: 0 8px 24px rgb(221 212 13 / 0.35);
}
Citrine
#ddd40d rgb(221, 212, 13) hsl(57, 89%, 46%) Citrine
#0d16dd rgb(13, 22, 221) hsl(237, 89%, 46%) Medium Blue
#0dddd4 rgb(13, 221, 212) hsl(177, 89%, 46%) Bright Turquoise
#d40ddd rgb(212, 13, 221) hsl(297, 89%, 46%) Electric Purple