#ccc70d ≈ Citrine
#ccc70d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 78.04% green and 5.1% blue; printed in CMYK it uses 0% cyan, 2.45% magenta, 93.63% yellow and 20% black. Its hue angle is 58.43°, 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.74:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.66.
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.5371 |
Shades
#ccc70d mixed progressively with black.
Tints
#ccc70d mixed progressively with white.
Tones
#ccc70d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc70d {
color: #ccc70d;
}
.bg-ccc70d {
background-color: #ccc70d;
color: #000000;
}
.border-ccc70d {
border: 2px solid #ccc70d;
}
:root {
--color-primary: #ccc70d;
--color-primary-rgb: 204 199 13;
--color-primary-hsl: 58 88% 43%;
}
.gradient-ccc70d {
background: linear-gradient(135deg, #ccc70d, #72cc0d);
}
.shadow-ccc70d {
box-shadow: 0 8px 24px rgb(204 199 13 / 0.35);
}
Citrine
#ccc70d rgb(204, 199, 13) hsl(58, 88%, 43%) Citrine
#0d12cc rgb(13, 18, 204) hsl(238, 88%, 43%) Medium Blue
#0dccc7 rgb(13, 204, 199) hsl(178, 88%, 43%) Robin Egg Blue
#c70dcc rgb(199, 13, 204) hsl(298, 88%, 43%) Electric Purple