#ded40c ≈ Citrine
#ded40c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 83.14% green and 4.71% blue; printed in CMYK it uses 0% cyan, 4.5% magenta, 94.59% yellow and 12.94% black. Its hue angle is 57.14°, with 89.74% saturation and 45.88% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 13.53:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.44.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6264 |
Shades
#ded40c mixed progressively with black.
Tints
#ded40c mixed progressively with white.
Tones
#ded40c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ded40c {
color: #ded40c;
}
.bg-ded40c {
background-color: #ded40c;
color: #000000;
}
.border-ded40c {
border: 2px solid #ded40c;
}
:root {
--color-primary: #ded40c;
--color-primary-rgb: 222 212 12;
--color-primary-hsl: 57 90% 46%;
}
.gradient-ded40c {
background: linear-gradient(135deg, #ded40c, #7fde0c);
}
.shadow-ded40c {
box-shadow: 0 8px 24px rgb(222 212 12 / 0.35);
}
Citrine
#ded40c rgb(222, 212, 12) hsl(57, 90%, 46%) Citrine
#0c16de rgb(12, 22, 222) hsl(237, 90%, 46%) Medium Blue
#0cded4 rgb(12, 222, 212) hsl(177, 90%, 46%) Bright Turquoise
#d40cde rgb(212, 12, 222) hsl(297, 90%, 46%) Electric Purple