#cdc82a ≈ Citrine
#cdc82a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 78.43% green and 16.47% blue; printed in CMYK it uses 0% cyan, 2.44% magenta, 79.51% yellow and 19.61% black. Its hue angle is 58.16°, with 65.99% saturation and 48.43% 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.89:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.97.
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.5445 |
Shades
#cdc82a mixed progressively with black.
Tints
#cdc82a mixed progressively with white.
Tones
#cdc82a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc82a {
color: #cdc82a;
}
.bg-cdc82a {
background-color: #cdc82a;
color: #000000;
}
.border-cdc82a {
border: 2px solid #cdc82a;
}
:root {
--color-primary: #cdc82a;
--color-primary-rgb: 205 200 42;
--color-primary-hsl: 58 66% 48%;
}
.gradient-cdc82a {
background: linear-gradient(135deg, #cdc82a, #80cd2a);
}
.shadow-cdc82a {
box-shadow: 0 8px 24px rgb(205 200 42 / 0.35);
}
Citrine
#cdc82a rgb(205, 200, 42) hsl(58, 66%, 48%) Citrine
#2a2fcd rgb(42, 47, 205) hsl(238, 66%, 48%) Persian Blue
#2acdc8 rgb(42, 205, 200) hsl(178, 66%, 48%) Medium Turquoise
#c82acd rgb(200, 42, 205) hsl(298, 66%, 48%) Medium Orchid