#c8c40b ≈ Citrine
#c8c40b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 76.86% green and 4.31% blue; printed in CMYK it uses 0% cyan, 2% magenta, 94.5% yellow and 21.57% black. Its hue angle is 58.73°, with 89.57% saturation and 41.37% 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.36:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.39.
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.5178 |
Shades
#c8c40b mixed progressively with black.
Tints
#c8c40b mixed progressively with white.
Tones
#c8c40b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8c40b {
color: #c8c40b;
}
.bg-c8c40b {
background-color: #c8c40b;
color: #000000;
}
.border-c8c40b {
border: 2px solid #c8c40b;
}
:root {
--color-primary: #c8c40b;
--color-primary-rgb: 200 196 11;
--color-primary-hsl: 59 90% 41%;
}
.gradient-c8c40b {
background: linear-gradient(135deg, #c8c40b, #6dc80b);
}
.shadow-c8c40b {
box-shadow: 0 8px 24px rgb(200 196 11 / 0.35);
}
Citrine
#c8c40b rgb(200, 196, 11) hsl(59, 90%, 41%) Citrine
#0b0fc8 rgb(11, 15, 200) hsl(239, 90%, 41%) Medium Blue
#0bc8c4 rgb(11, 200, 196) hsl(179, 90%, 41%) Robin Egg Blue
#c40bc8 rgb(196, 11, 200) hsl(299, 90%, 41%) Dark Orchid