#ddcd12 ≈ Citrine
#ddcd12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.67% red, 80.39% green and 7.06% blue; printed in CMYK it uses 0% cyan, 7.24% magenta, 91.86% yellow and 13.33% black. Its hue angle is 55.27°, with 84.94% saturation and 46.86% 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 12.82:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.37.
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.5908 |
Shades
#ddcd12 mixed progressively with black.
Tints
#ddcd12 mixed progressively with white.
Tones
#ddcd12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ddcd12 {
color: #ddcd12;
}
.bg-ddcd12 {
background-color: #ddcd12;
color: #000000;
}
.border-ddcd12 {
border: 2px solid #ddcd12;
}
:root {
--color-primary: #ddcd12;
--color-primary-rgb: 221 205 18;
--color-primary-hsl: 55 85% 47%;
}
.gradient-ddcd12 {
background: linear-gradient(135deg, #ddcd12, #87dd12);
}
.shadow-ddcd12 {
box-shadow: 0 8px 24px rgb(221 205 18 / 0.35);
}
Citrine
#ddcd12 rgb(221, 205, 18) hsl(55, 85%, 47%) Citrine
#1222dd rgb(18, 34, 221) hsl(235, 85%, 47%) Blue
#12ddcd rgb(18, 221, 205) hsl(175, 85%, 47%) Turquoise
#cd12dd rgb(205, 18, 221) hsl(295, 85%, 47%) Electric Purple