#ddd52a ≈ Citrine
#ddd52a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.67% red, 83.53% green and 16.47% blue; printed in CMYK it uses 0% cyan, 3.62% magenta, 81% yellow and 13.33% black. Its hue angle is 57.32°, with 72.47% saturation and 51.57% 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.63:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.22.
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.6313 |
Shades
#ddd52a mixed progressively with black.
Tints
#ddd52a mixed progressively with white.
Tones
#ddd52a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ddd52a {
color: #ddd52a;
}
.bg-ddd52a {
background-color: #ddd52a;
color: #000000;
}
.border-ddd52a {
border: 2px solid #ddd52a;
}
:root {
--color-primary: #ddd52a;
--color-primary-rgb: 221 213 42;
--color-primary-hsl: 57 72% 52%;
}
.gradient-ddd52a {
background: linear-gradient(135deg, #ddd52a, #8bdd2a);
}
.shadow-ddd52a {
box-shadow: 0 8px 24px rgb(221 213 42 / 0.35);
}
Citrine
#ddd52a rgb(221, 213, 42) hsl(57, 72%, 52%) Citrine
#2a32dd rgb(42, 50, 221) hsl(237, 72%, 52%) Persian Blue
#2addd5 rgb(42, 221, 213) hsl(177, 72%, 52%) Bright Turquoise
#d52add rgb(213, 42, 221) hsl(297, 72%, 52%) Medium Orchid