#d7ca3c ≈ Citrine
#d7ca3c 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.22% green and 23.53% blue; printed in CMYK it uses 0% cyan, 6.05% magenta, 72.09% yellow and 15.69% black. Its hue angle is 54.97°, with 65.96% saturation and 53.92% 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.4:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.93.
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.5701 |
Shades
#d7ca3c mixed progressively with black.
Tints
#d7ca3c mixed progressively with white.
Tones
#d7ca3c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7ca3c {
color: #d7ca3c;
}
.bg-d7ca3c {
background-color: #d7ca3c;
color: #000000;
}
.border-d7ca3c {
border: 2px solid #d7ca3c;
}
:root {
--color-primary: #d7ca3c;
--color-primary-rgb: 215 202 60;
--color-primary-hsl: 55 66% 54%;
}
.gradient-d7ca3c {
background: linear-gradient(135deg, #d7ca3c, #96d73c);
}
.shadow-d7ca3c {
box-shadow: 0 8px 24px rgb(215 202 60 / 0.35);
}
Citrine
#d7ca3c rgb(215, 202, 60) hsl(55, 66%, 54%) Citrine
#3c49d7 rgb(60, 73, 215) hsl(235, 66%, 54%) Iris
#3cd7ca rgb(60, 215, 202) hsl(175, 66%, 54%) Turquoise
#ca3cd7 rgb(202, 60, 215) hsl(295, 66%, 54%) Medium Orchid