#ccc404 ≈ Citrine
#ccc404 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 76.86% green and 1.57% blue; printed in CMYK it uses 0% cyan, 3.92% magenta, 98.04% yellow and 20% black. Its hue angle is 57.6°, with 96.15% saturation and 40.78% 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.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.56.
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.5233 |
Shades
#ccc404 mixed progressively with black.
Tints
#ccc404 mixed progressively with white.
Tones
#ccc404 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccc404 {
color: #ccc404;
}
.bg-ccc404 {
background-color: #ccc404;
color: #000000;
}
.border-ccc404 {
border: 2px solid #ccc404;
}
:root {
--color-primary: #ccc404;
--color-primary-rgb: 204 196 4;
--color-primary-hsl: 58 96% 41%;
}
.gradient-ccc404 {
background: linear-gradient(135deg, #ccc404, #70cc04);
}
.shadow-ccc404 {
box-shadow: 0 8px 24px rgb(204 196 4 / 0.35);
}
Citrine
#ccc404 rgb(204, 196, 4) hsl(58, 96%, 41%) Citrine
#040ccc rgb(4, 12, 204) hsl(238, 96%, 41%) Medium Blue
#04ccc4 rgb(4, 204, 196) hsl(178, 96%, 41%) Robin Egg Blue
#c404cc rgb(196, 4, 204) hsl(298, 96%, 41%) Electric Purple