#cdc158 ≈ Vegas Gold
#cdc158 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.39% red, 75.69% green and 34.51% blue; printed in CMYK it uses 0% cyan, 5.85% magenta, 57.07% yellow and 19.61% black. Its hue angle is 53.85°, with 53.92% saturation and 57.45% 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.36:1 (WCAG AAA). The closest named color is Vegas Gold (#c5b358), ΔE 4.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5182 |
Shades
#cdc158 mixed progressively with black.
Tints
#cdc158 mixed progressively with white.
Tones
#cdc158 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc158 {
color: #cdc158;
}
.bg-cdc158 {
background-color: #cdc158;
color: #000000;
}
.border-cdc158 {
border: 2px solid #cdc158;
}
:root {
--color-primary: #cdc158;
--color-primary-rgb: 205 193 88;
--color-primary-hsl: 54 54% 57%;
}
.gradient-cdc158 {
background: linear-gradient(135deg, #cdc158, #9ecd58);
}
.shadow-cdc158 {
box-shadow: 0 8px 24px rgb(205 193 88 / 0.35);
}
Vegas Gold
#cdc158 rgb(205, 193, 88) hsl(54, 54%, 57%) Vegas Gold
#5864cd rgb(88, 100, 205) hsl(234, 54%, 57%) Royal Blue
#58cdc1 rgb(88, 205, 193) hsl(174, 54%, 57%) Medium Turquoise
#c158cd rgb(193, 88, 205) hsl(294, 54%, 57%) Medium Orchid