#ccc30d ≈ Citrine
#ccc30d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 76.47% green and 5.1% blue; printed in CMYK it uses 0% cyan, 4.41% magenta, 93.63% yellow and 20% black. Its hue angle is 57.17°, with 88.02% saturation and 42.55% 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.38:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.63.
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.519 |
Shades
#ccc30d mixed progressively with black.
Tints
#ccc30d mixed progressively with white.
Tones
#ccc30d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc30d {
color: #ccc30d;
}
.bg-ccc30d {
background-color: #ccc30d;
color: #000000;
}
.border-ccc30d {
border: 2px solid #ccc30d;
}
:root {
--color-primary: #ccc30d;
--color-primary-rgb: 204 195 13;
--color-primary-hsl: 57 88% 43%;
}
.gradient-ccc30d {
background: linear-gradient(135deg, #ccc30d, #76cc0d);
}
.shadow-ccc30d {
box-shadow: 0 8px 24px rgb(204 195 13 / 0.35);
}
Citrine
#ccc30d rgb(204, 195, 13) hsl(57, 88%, 43%) Citrine
#0d16cc rgb(13, 22, 204) hsl(237, 88%, 43%) Medium Blue
#0dccc3 rgb(13, 204, 195) hsl(177, 88%, 43%) Medium Turquoise
#c30dcc rgb(195, 13, 204) hsl(297, 88%, 43%) Electric Purple