#CDC158

#cdc158 ≈ Vegas Gold

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#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.

Conversions of #cdc158 into other color spaces
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 luminance0.5182

Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c4c0a0 ≈ 0.001% of males
Protanopia #d1bb4d ≈ 1.01% of males
Deuteranopia #d4c15d ≈ 1.27% of males
Tritanopia #dbb5aa ≈ 0.0001% of males
Protanomaly #cfbe52 ≈ 1.08% of males
Deuteranomaly #d1c15b ≈ 4.63% of males
Tritanomaly #d6ba90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc158 {
  color: #cdc158;
}
Background
.bg-cdc158 {
  background-color: #cdc158;
  color: #000000;
}
Border
.border-cdc158 {
  border: 2px solid #cdc158;
}
CSS variables
:root {
  --color-primary: #cdc158;
  --color-primary-rgb: 205 193 88;
  --color-primary-hsl: 54 54% 57%;
}
Gradient
.gradient-cdc158 {
  background: linear-gradient(135deg, #cdc158, #9ecd58);
}
Colored shadow
.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