#ddc42d ≈ Citrine
#ddc42d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.67% red, 76.86% green and 17.65% blue; printed in CMYK it uses 0% cyan, 11.31% magenta, 79.64% yellow and 13.33% black. Its hue angle is 51.48°, with 72.13% 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 12.01:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.71.
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.5504 |
Shades
#ddc42d mixed progressively with black.
Tints
#ddc42d mixed progressively with white.
Tones
#ddc42d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ddc42d {
color: #ddc42d;
}
.bg-ddc42d {
background-color: #ddc42d;
color: #000000;
}
.border-ddc42d {
border: 2px solid #ddc42d;
}
:root {
--color-primary: #ddc42d;
--color-primary-rgb: 221 196 45;
--color-primary-hsl: 51 72% 52%;
}
.gradient-ddc42d {
background: linear-gradient(135deg, #ddc42d, #9edd2d);
}
.shadow-ddc42d {
box-shadow: 0 8px 24px rgb(221 196 45 / 0.35);
}
Citrine
#ddc42d rgb(221, 196, 45) hsl(51, 72%, 52%) Citrine
#2d46dd rgb(45, 70, 221) hsl(231, 72%, 52%) Iris
#2dddc4 rgb(45, 221, 196) hsl(171, 72%, 52%) Turquoise
#c42ddd rgb(196, 45, 221) hsl(291, 72%, 52%) Electric Purple