#d7cb2c ≈ Citrine
#d7cb2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 79.61% green and 17.25% blue; printed in CMYK it uses 0% cyan, 5.58% magenta, 79.53% yellow and 15.69% black. Its hue angle is 55.79°, with 68.13% saturation and 50.78% 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.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.1.
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.5734 |
Shades
#d7cb2c mixed progressively with black.
Tints
#d7cb2c mixed progressively with white.
Tones
#d7cb2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cb2c {
color: #d7cb2c;
}
.bg-d7cb2c {
background-color: #d7cb2c;
color: #000000;
}
.border-d7cb2c {
border: 2px solid #d7cb2c;
}
:root {
--color-primary: #d7cb2c;
--color-primary-rgb: 215 203 44;
--color-primary-hsl: 56 68% 51%;
}
.gradient-d7cb2c {
background: linear-gradient(135deg, #d7cb2c, #8dd72c);
}
.shadow-d7cb2c {
box-shadow: 0 8px 24px rgb(215 203 44 / 0.35);
}
Citrine
#d7cb2c rgb(215, 203, 44) hsl(56, 68%, 51%) Citrine
#2c38d7 rgb(44, 56, 215) hsl(236, 68%, 51%) Persian Blue
#2cd7cb rgb(44, 215, 203) hsl(176, 68%, 51%) Turquoise
#cb2cd7 rgb(203, 44, 215) hsl(296, 68%, 51%) Medium Orchid