#dcd22b ≈ Citrine
#dcd22b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 82.35% green and 16.86% blue; printed in CMYK it uses 0% cyan, 4.55% magenta, 80.45% yellow and 13.73% black. Its hue angle is 56.61°, with 71.66% saturation and 51.57% 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.3:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.81.
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.6148 |
Shades
#dcd22b mixed progressively with black.
Tints
#dcd22b mixed progressively with white.
Tones
#dcd22b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd22b {
color: #dcd22b;
}
.bg-dcd22b {
background-color: #dcd22b;
color: #000000;
}
.border-dcd22b {
border: 2px solid #dcd22b;
}
:root {
--color-primary: #dcd22b;
--color-primary-rgb: 220 210 43;
--color-primary-hsl: 57 72% 52%;
}
.gradient-dcd22b {
background: linear-gradient(135deg, #dcd22b, #8edc2b);
}
.shadow-dcd22b {
box-shadow: 0 8px 24px rgb(220 210 43 / 0.35);
}
Citrine
#dcd22b rgb(220, 210, 43) hsl(57, 72%, 52%) Citrine
#2b35dc rgb(43, 53, 220) hsl(237, 72%, 52%) Persian Blue
#2bdcd2 rgb(43, 220, 210) hsl(177, 72%, 52%) Turquoise
#d22bdc rgb(210, 43, 220) hsl(297, 72%, 52%) Medium Orchid