#d3c42e ≈ Citrine
#d3c42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 7.11% magenta, 78.2% yellow and 17.25% black. Its hue angle is 54.55°, with 65.22% saturation and 50.39% 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.71:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.13.
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.5353 |
Shades
#d3c42e mixed progressively with black.
Tints
#d3c42e mixed progressively with white.
Tones
#d3c42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d3c42e {
color: #d3c42e;
}
.bg-d3c42e {
background-color: #d3c42e;
color: #000000;
}
.border-d3c42e {
border: 2px solid #d3c42e;
}
:root {
--color-primary: #d3c42e;
--color-primary-rgb: 211 196 46;
--color-primary-hsl: 55 65% 50%;
}
.gradient-d3c42e {
background: linear-gradient(135deg, #d3c42e, #8fd32e);
}
.shadow-d3c42e {
box-shadow: 0 8px 24px rgb(211 196 46 / 0.35);
}
Citrine
#d3c42e rgb(211, 196, 46) hsl(55, 65%, 50%) Citrine
#2e3dd3 rgb(46, 61, 211) hsl(235, 65%, 50%) Persian Blue
#2ed3c4 rgb(46, 211, 196) hsl(175, 65%, 50%) Turquoise
#c42ed3 rgb(196, 46, 211) hsl(295, 65%, 50%) Medium Orchid