#cdc40a ≈ Citrine
#cdc40a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 76.86% green and 3.92% blue; printed in CMYK it uses 0% cyan, 4.39% magenta, 95.12% yellow and 19.61% black. Its hue angle is 57.23°, with 90.7% saturation and 42.16% 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 11.5:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.4.
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.5248 |
Shades
#cdc40a mixed progressively with black.
Tints
#cdc40a mixed progressively with white.
Tones
#cdc40a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc40a {
color: #cdc40a;
}
.bg-cdc40a {
background-color: #cdc40a;
color: #000000;
}
.border-cdc40a {
border: 2px solid #cdc40a;
}
:root {
--color-primary: #cdc40a;
--color-primary-rgb: 205 196 10;
--color-primary-hsl: 57 91% 42%;
}
.gradient-cdc40a {
background: linear-gradient(135deg, #cdc40a, #75cd0a);
}
.shadow-cdc40a {
box-shadow: 0 8px 24px rgb(205 196 10 / 0.35);
}
Citrine
#cdc40a rgb(205, 196, 10) hsl(57, 91%, 42%) Citrine
#0a13cd rgb(10, 19, 205) hsl(237, 91%, 42%) Medium Blue
#0acdc4 rgb(10, 205, 196) hsl(177, 91%, 42%) Medium Turquoise
#c40acd rgb(196, 10, 205) hsl(297, 91%, 42%) Electric Purple