#cfc817 ≈ Citrine
#cfc817 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 78.43% green and 9.02% blue; printed in CMYK it uses 0% cyan, 3.38% magenta, 88.89% yellow and 18.82% black. Its hue angle is 57.72°, with 80% saturation and 45.1% 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 11.93:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.15.
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.5464 |
Shades
#cfc817 mixed progressively with black.
Tints
#cfc817 mixed progressively with white.
Tones
#cfc817 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfc817 {
color: #cfc817;
}
.bg-cfc817 {
background-color: #cfc817;
color: #000000;
}
.border-cfc817 {
border: 2px solid #cfc817;
}
:root {
--color-primary: #cfc817;
--color-primary-rgb: 207 200 23;
--color-primary-hsl: 58 80% 45%;
}
.gradient-cfc817 {
background: linear-gradient(135deg, #cfc817, #7acf17);
}
.shadow-cfc817 {
box-shadow: 0 8px 24px rgb(207 200 23 / 0.35);
}
Citrine
#cfc817 rgb(207, 200, 23) hsl(58, 80%, 45%) Citrine
#171ecf rgb(23, 30, 207) hsl(238, 80%, 45%) Medium Blue
#17cfc8 rgb(23, 207, 200) hsl(178, 80%, 45%) Medium Turquoise
#c817cf rgb(200, 23, 207) hsl(298, 80%, 45%) Electric Purple