#d7cc01 ≈ Citrine
#d7cc01 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 80% green and 0.39% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 99.53% yellow and 15.69% black. Its hue angle is 56.92°, with 99.07% saturation and 42.35% 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 12.53:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.53.
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.5763 |
Shades
#d7cc01 mixed progressively with black.
Tints
#d7cc01 mixed progressively with white.
Tones
#d7cc01 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cc01 {
color: #d7cc01;
}
.bg-d7cc01 {
background-color: #d7cc01;
color: #000000;
}
.border-d7cc01 {
border: 2px solid #d7cc01;
}
:root {
--color-primary: #d7cc01;
--color-primary-rgb: 215 204 1;
--color-primary-hsl: 57 99% 42%;
}
.gradient-d7cc01 {
background: linear-gradient(135deg, #d7cc01, #77d701);
}
.shadow-d7cc01 {
box-shadow: 0 8px 24px rgb(215 204 1 / 0.35);
}
Citrine
#d7cc01 rgb(215, 204, 1) hsl(57, 99%, 42%) Citrine
#010cd7 rgb(1, 12, 215) hsl(237, 99%, 42%) Medium Blue
#01d7cc rgb(1, 215, 204) hsl(177, 99%, 42%) Turquoise
#cc01d7 rgb(204, 1, 215) hsl(297, 99%, 42%) Electric Purple