#d7cf40 ≈ Citrine
#d7cf40 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 81.18% green and 25.1% blue; printed in CMYK it uses 0% cyan, 3.72% magenta, 70.23% yellow and 15.69% black. Its hue angle is 56.82°, with 65.37% saturation and 54.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.89:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.42.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5944 |
Shades
#d7cf40 mixed progressively with black.
Tints
#d7cf40 mixed progressively with white.
Tones
#d7cf40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cf40 {
color: #d7cf40;
}
.bg-d7cf40 {
background-color: #d7cf40;
color: #000000;
}
.border-d7cf40 {
border: 2px solid #d7cf40;
}
:root {
--color-primary: #d7cf40;
--color-primary-rgb: 215 207 64;
--color-primary-hsl: 57 65% 55%;
}
.gradient-d7cf40 {
background: linear-gradient(135deg, #d7cf40, #94d740);
}
.shadow-d7cf40 {
box-shadow: 0 8px 24px rgb(215 207 64 / 0.35);
}
Citrine
#d7cf40 rgb(215, 207, 64) hsl(57, 65%, 55%) Citrine
#4048d7 rgb(64, 72, 215) hsl(237, 65%, 55%) Iris
#40d7cf rgb(64, 215, 207) hsl(177, 65%, 55%) Medium Turquoise
#cf40d7 rgb(207, 64, 215) hsl(297, 65%, 55%) Medium Orchid