#dcca02 ≈ Citrine
#dcca02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 79.22% green and 0.78% blue; printed in CMYK it uses 0% cyan, 8.18% magenta, 99.09% yellow and 13.73% black. Its hue angle is 55.05°, with 98.2% saturation and 43.53% 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.49:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.61.
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.5746 |
Shades
#dcca02 mixed progressively with black.
Tints
#dcca02 mixed progressively with white.
Tones
#dcca02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcca02 {
color: #dcca02;
}
.bg-dcca02 {
background-color: #dcca02;
color: #000000;
}
.border-dcca02 {
border: 2px solid #dcca02;
}
:root {
--color-primary: #dcca02;
--color-primary-rgb: 220 202 2;
--color-primary-hsl: 55 98% 44%;
}
.gradient-dcca02 {
background: linear-gradient(135deg, #dcca02, #81dc02);
}
.shadow-dcca02 {
box-shadow: 0 8px 24px rgb(220 202 2 / 0.35);
}
Citrine
#dcca02 rgb(220, 202, 2) hsl(55, 98%, 44%) Citrine
#0214dc rgb(2, 20, 220) hsl(235, 98%, 44%) Medium Blue
#02dcca rgb(2, 220, 202) hsl(175, 98%, 44%) Turquoise
#ca02dc rgb(202, 2, 220) hsl(295, 98%, 44%) Electric Purple