#cdc30d ≈ Citrine
#cdc30d is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 76.47% green and 5.1% blue; printed in CMYK it uses 0% cyan, 4.88% magenta, 93.66% yellow and 19.61% black. Its hue angle is 56.87°, with 88.07% saturation and 42.75% 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.46.
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.5204 |
Shades
#cdc30d mixed progressively with black.
Tints
#cdc30d mixed progressively with white.
Tones
#cdc30d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc30d {
color: #cdc30d;
}
.bg-cdc30d {
background-color: #cdc30d;
color: #000000;
}
.border-cdc30d {
border: 2px solid #cdc30d;
}
:root {
--color-primary: #cdc30d;
--color-primary-rgb: 205 195 13;
--color-primary-hsl: 57 88% 43%;
}
.gradient-cdc30d {
background: linear-gradient(135deg, #cdc30d, #77cd0d);
}
.shadow-cdc30d {
box-shadow: 0 8px 24px rgb(205 195 13 / 0.35);
}
Citrine
#cdc30d rgb(205, 195, 13) hsl(57, 88%, 43%) Citrine
#0d17cd rgb(13, 23, 205) hsl(237, 88%, 43%) Medium Blue
#0dcdc3 rgb(13, 205, 195) hsl(177, 88%, 43%) Medium Turquoise
#c30dcd rgb(195, 13, 205) hsl(297, 88%, 43%) Electric Purple