#cdc313 ≈ Citrine
#cdc313 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 76.47% green and 7.45% blue; printed in CMYK it uses 0% cyan, 4.88% magenta, 90.73% yellow and 19.61% black. Its hue angle is 56.77°, with 83.04% saturation and 43.92% 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 11.41:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.5.
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.5206 |
Shades
#cdc313 mixed progressively with black.
Tints
#cdc313 mixed progressively with white.
Tones
#cdc313 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc313 {
color: #cdc313;
}
.bg-cdc313 {
background-color: #cdc313;
color: #000000;
}
.border-cdc313 {
border: 2px solid #cdc313;
}
:root {
--color-primary: #cdc313;
--color-primary-rgb: 205 195 19;
--color-primary-hsl: 57 83% 44%;
}
.gradient-cdc313 {
background: linear-gradient(135deg, #cdc313, #7acd13);
}
.shadow-cdc313 {
box-shadow: 0 8px 24px rgb(205 195 19 / 0.35);
}
Citrine
#cdc313 rgb(205, 195, 19) hsl(57, 83%, 44%) Citrine
#131dcd rgb(19, 29, 205) hsl(237, 83%, 44%) Medium Blue
#13cdc3 rgb(19, 205, 195) hsl(177, 83%, 44%) Medium Turquoise
#c313cd rgb(195, 19, 205) hsl(297, 83%, 44%) Electric Purple