#cdc50a ≈ Citrine
#cdc50a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 77.25% green and 3.92% blue; printed in CMYK it uses 0% cyan, 3.9% magenta, 95.12% yellow and 19.61% black. Its hue angle is 57.54°, with 90.7% saturation and 42.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 11.59:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.39.
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.5293 |
Shades
#cdc50a mixed progressively with black.
Tints
#cdc50a mixed progressively with white.
Tones
#cdc50a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc50a {
color: #cdc50a;
}
.bg-cdc50a {
background-color: #cdc50a;
color: #000000;
}
.border-cdc50a {
border: 2px solid #cdc50a;
}
:root {
--color-primary: #cdc50a;
--color-primary-rgb: 205 197 10;
--color-primary-hsl: 58 91% 42%;
}
.gradient-cdc50a {
background: linear-gradient(135deg, #cdc50a, #74cd0a);
}
.shadow-cdc50a {
box-shadow: 0 8px 24px rgb(205 197 10 / 0.35);
}
Citrine
#cdc50a rgb(205, 197, 10) hsl(58, 91%, 42%) Citrine
#0a12cd rgb(10, 18, 205) hsl(238, 91%, 42%) Medium Blue
#0acdc5 rgb(10, 205, 197) hsl(178, 91%, 42%) Medium Turquoise
#c50acd rgb(197, 10, 205) hsl(298, 91%, 42%) Electric Purple