#dec508 ≈ Citrine
#dec508 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 77.25% green and 3.14% blue; printed in CMYK it uses 0% cyan, 11.26% magenta, 96.4% yellow and 12.94% black. Its hue angle is 52.99°, with 93.04% saturation and 45.1% 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 12.1:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.83.
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.5548 |
Shades
#dec508 mixed progressively with black.
Tints
#dec508 mixed progressively with white.
Tones
#dec508 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec508 {
color: #dec508;
}
.bg-dec508 {
background-color: #dec508;
color: #000000;
}
.border-dec508 {
border: 2px solid #dec508;
}
:root {
--color-primary: #dec508;
--color-primary-rgb: 222 197 8;
--color-primary-hsl: 53 93% 45%;
}
.gradient-dec508 {
background: linear-gradient(135deg, #dec508, #8cde08);
}
.shadow-dec508 {
box-shadow: 0 8px 24px rgb(222 197 8 / 0.35);
}
Citrine
#dec508 rgb(222, 197, 8) hsl(53, 93%, 45%) Citrine
#0821de rgb(8, 33, 222) hsl(233, 93%, 45%) Blue
#08dec5 rgb(8, 222, 197) hsl(173, 93%, 45%) Turquoise
#c508de rgb(197, 8, 222) hsl(293, 93%, 45%) Electric Purple