#d6c42e ≈ Citrine
#d6c42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.92% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.41% magenta, 78.5% yellow and 16.08% black. Its hue angle is 53.57°, with 67.2% saturation and 50.98% 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.79:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.83.
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.5397 |
Shades
#d6c42e mixed progressively with black.
Tints
#d6c42e mixed progressively with white.
Tones
#d6c42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d6c42e {
color: #d6c42e;
}
.bg-d6c42e {
background-color: #d6c42e;
color: #000000;
}
.border-d6c42e {
border: 2px solid #d6c42e;
}
:root {
--color-primary: #d6c42e;
--color-primary-rgb: 214 196 46;
--color-primary-hsl: 54 67% 51%;
}
.gradient-d6c42e {
background: linear-gradient(135deg, #d6c42e, #94d62e);
}
.shadow-d6c42e {
box-shadow: 0 8px 24px rgb(214 196 46 / 0.35);
}
Citrine
#d6c42e rgb(214, 196, 46) hsl(54, 67%, 51%) Citrine
#2e40d6 rgb(46, 64, 214) hsl(234, 67%, 51%) Persian Blue
#2ed6c4 rgb(46, 214, 196) hsl(174, 67%, 51%) Turquoise
#c42ed6 rgb(196, 46, 214) hsl(294, 67%, 51%) Medium Orchid