#dfd138 ≈ Citrine
#dfd138 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 81.96% green and 21.96% blue; printed in CMYK it uses 0% cyan, 6.28% magenta, 74.89% yellow and 12.55% black. Its hue angle is 54.97°, with 72.29% saturation and 54.71% 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 13.31:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.66.
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.6157 |
Shades
#dfd138 mixed progressively with black.
Tints
#dfd138 mixed progressively with white.
Tones
#dfd138 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd138 {
color: #dfd138;
}
.bg-dfd138 {
background-color: #dfd138;
color: #000000;
}
.border-dfd138 {
border: 2px solid #dfd138;
}
:root {
--color-primary: #dfd138;
--color-primary-rgb: 223 209 56;
--color-primary-hsl: 55 72% 55%;
}
.gradient-dfd138 {
background: linear-gradient(135deg, #dfd138, #9adf38);
}
.shadow-dfd138 {
box-shadow: 0 8px 24px rgb(223 209 56 / 0.35);
}
Citrine
#dfd138 rgb(223, 209, 56) hsl(55, 72%, 55%) Citrine
#3846df rgb(56, 70, 223) hsl(235, 72%, 55%) Iris
#38dfd1 rgb(56, 223, 209) hsl(175, 72%, 55%) Turquoise
#d138df rgb(209, 56, 223) hsl(295, 72%, 55%) Medium Orchid