#d7c42e ≈ Citrine
#d7c42e 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.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.84% magenta, 78.6% yellow and 15.69% black. Its hue angle is 53.25°, with 67.87% saturation and 51.18% 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.82:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.76.
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.5412 |
Shades
#d7c42e mixed progressively with black.
Tints
#d7c42e mixed progressively with white.
Tones
#d7c42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7c42e {
color: #d7c42e;
}
.bg-d7c42e {
background-color: #d7c42e;
color: #000000;
}
.border-d7c42e {
border: 2px solid #d7c42e;
}
:root {
--color-primary: #d7c42e;
--color-primary-rgb: 215 196 46;
--color-primary-hsl: 53 68% 51%;
}
.gradient-d7c42e {
background: linear-gradient(135deg, #d7c42e, #96d72e);
}
.shadow-d7c42e {
box-shadow: 0 8px 24px rgb(215 196 46 / 0.35);
}
Citrine
#d7c42e rgb(215, 196, 46) hsl(53, 68%, 51%) Citrine
#2e41d7 rgb(46, 65, 215) hsl(233, 68%, 51%) Persian Blue
#2ed7c4 rgb(46, 215, 196) hsl(173, 68%, 51%) Turquoise
#c42ed7 rgb(196, 46, 215) hsl(293, 68%, 51%) Medium Orchid