#cccb18 ≈ Citrine
#cccb18 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 79.61% green and 9.41% blue; printed in CMYK it uses 0% cyan, 0.49% magenta, 88.24% yellow and 20% black. Its hue angle is 59.67°, with 78.95% saturation and 44.71% 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 brand accents. Black text on this color reaches a contrast ratio of 12.12:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.09.
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.5562 |
Shades
#cccb18 mixed progressively with black.
Tints
#cccb18 mixed progressively with white.
Tones
#cccb18 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cccb18 {
color: #cccb18;
}
.bg-cccb18 {
background-color: #cccb18;
color: #000000;
}
.border-cccb18 {
border: 2px solid #cccb18;
}
:root {
--color-primary: #cccb18;
--color-primary-rgb: 204 203 24;
--color-primary-hsl: 60 79% 45%;
}
.gradient-cccb18 {
background: linear-gradient(135deg, #cccb18, #73cc18);
}
.shadow-cccb18 {
box-shadow: 0 8px 24px rgb(204 203 24 / 0.35);
}
Citrine
#cccb18 rgb(204, 203, 24) hsl(60, 79%, 45%) Citrine
#1819cc rgb(24, 25, 204) hsl(240, 79%, 45%) Medium Blue
#18cccb rgb(24, 204, 203) hsl(180, 79%, 45%) Robin Egg Blue
#cb18cc rgb(203, 24, 204) hsl(300, 79%, 45%) Medium Orchid