#ccc712 ≈ Citrine
#ccc712 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 7.06% blue; printed in CMYK it uses 0% cyan, 2.45% magenta, 91.18% yellow and 20% black. Its hue angle is 58.39°, with 83.78% saturation and 43.53% 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.75:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.7.
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.5373 |
Shades
#ccc712 mixed progressively with black.
Tints
#ccc712 mixed progressively with white.
Tones
#ccc712 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc712 {
color: #ccc712;
}
.bg-ccc712 {
background-color: #ccc712;
color: #000000;
}
.border-ccc712 {
border: 2px solid #ccc712;
}
:root {
--color-primary: #ccc712;
--color-primary-rgb: 204 199 18;
--color-primary-hsl: 58 84% 44%;
}
.gradient-ccc712 {
background: linear-gradient(135deg, #ccc712, #74cc12);
}
.shadow-ccc712 {
box-shadow: 0 8px 24px rgb(204 199 18 / 0.35);
}
Citrine
#ccc712 rgb(204, 199, 18) hsl(58, 84%, 44%) Citrine
#1217cc rgb(18, 23, 204) hsl(238, 84%, 44%) Medium Blue
#12ccc7 rgb(18, 204, 199) hsl(178, 84%, 44%) Robin Egg Blue
#c712cc rgb(199, 18, 204) hsl(298, 84%, 44%) Electric Purple