#cdc422 ≈ Citrine
#cdc422 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 76.86% green and 13.33% blue; printed in CMYK it uses 0% cyan, 4.39% magenta, 83.41% yellow and 19.61% black. Its hue angle is 56.84°, with 71.55% saturation and 46.86% 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 11.51:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.7.
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.5257 |
Shades
#cdc422 mixed progressively with black.
Tints
#cdc422 mixed progressively with white.
Tones
#cdc422 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc422 {
color: #cdc422;
}
.bg-cdc422 {
background-color: #cdc422;
color: #000000;
}
.border-cdc422 {
border: 2px solid #cdc422;
}
:root {
--color-primary: #cdc422;
--color-primary-rgb: 205 196 34;
--color-primary-hsl: 57 72% 47%;
}
.gradient-cdc422 {
background: linear-gradient(135deg, #cdc422, #80cd22);
}
.shadow-cdc422 {
box-shadow: 0 8px 24px rgb(205 196 34 / 0.35);
}
Citrine
#cdc422 rgb(205, 196, 34) hsl(57, 72%, 47%) Citrine
#222bcd rgb(34, 43, 205) hsl(237, 72%, 47%) Persian Blue
#22cdc4 rgb(34, 205, 196) hsl(177, 72%, 47%) Medium Turquoise
#c422cd rgb(196, 34, 205) hsl(297, 72%, 47%) Medium Orchid