#decf12 ≈ Citrine
#decf12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 81.18% green and 7.06% blue; printed in CMYK it uses 0% cyan, 6.76% magenta, 91.89% yellow and 12.94% black. Its hue angle is 55.59°, with 85% saturation and 47.06% 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.04:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.33.
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.602 |
Shades
#decf12 mixed progressively with black.
Tints
#decf12 mixed progressively with white.
Tones
#decf12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-decf12 {
color: #decf12;
}
.bg-decf12 {
background-color: #decf12;
color: #000000;
}
.border-decf12 {
border: 2px solid #decf12;
}
:root {
--color-primary: #decf12;
--color-primary-rgb: 222 207 18;
--color-primary-hsl: 56 85% 47%;
}
.gradient-decf12 {
background: linear-gradient(135deg, #decf12, #87de12);
}
.shadow-decf12 {
box-shadow: 0 8px 24px rgb(222 207 18 / 0.35);
}
Citrine
#decf12 rgb(222, 207, 18) hsl(56, 85%, 47%) Citrine
#1221de rgb(18, 33, 222) hsl(236, 85%, 47%) Blue
#12decf rgb(18, 222, 207) hsl(176, 85%, 47%) Turquoise
#cf12de rgb(207, 18, 222) hsl(296, 85%, 47%) Electric Purple