#d7c331 ≈ Citrine
#d7c331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 76.47% green and 19.22% blue; printed in CMYK it uses 0% cyan, 9.3% magenta, 77.21% yellow and 15.69% black. Its hue angle is 52.77°, with 67.48% saturation and 51.76% 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.74:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.09.
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.537 |
Shades
#d7c331 mixed progressively with black.
Tints
#d7c331 mixed progressively with white.
Tones
#d7c331 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7c331 {
color: #d7c331;
}
.bg-d7c331 {
background-color: #d7c331;
color: #000000;
}
.border-d7c331 {
border: 2px solid #d7c331;
}
:root {
--color-primary: #d7c331;
--color-primary-rgb: 215 195 49;
--color-primary-hsl: 53 67% 52%;
}
.gradient-d7c331 {
background: linear-gradient(135deg, #d7c331, #98d731);
}
.shadow-d7c331 {
box-shadow: 0 8px 24px rgb(215 195 49 / 0.35);
}
Citrine
#d7c331 rgb(215, 195, 49) hsl(53, 67%, 52%) Citrine
#3145d7 rgb(49, 69, 215) hsl(233, 67%, 52%) Iris
#31d7c3 rgb(49, 215, 195) hsl(173, 67%, 52%) Turquoise
#c331d7 rgb(195, 49, 215) hsl(293, 67%, 52%) Medium Orchid