#CDC254

#cdc254 ≈ Vegas Gold

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

#cdc254 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.39% red, 76.08% green and 32.94% blue; printed in CMYK it uses 0% cyan, 5.37% magenta, 59.02% yellow and 19.61% black. Its hue angle is 54.55°, with 54.75% saturation and 56.67% 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.44:1 (WCAG AAA). The closest named color is Vegas Gold (#c5b358), ΔE 4.74.

Description generated from the measured properties of this color.

Conversions of #cdc254 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.522

Readable text 1.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c5c09f ≈ 0.001% of males
Protanopia #d2bc48 ≈ 1.01% of males
Deuteranopia #d5c25a ≈ 1.27% of males
Tritanopia #dbb6aa ≈ 0.0001% of males
Protanomaly #d0be4d ≈ 1.08% of males
Deuteranomaly #d2c258 ≈ 4.63% of males
Tritanomaly #d6bb90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cdc254 {
  color: #cdc254;
}
Background
.bg-cdc254 {
  background-color: #cdc254;
  color: #000000;
}
Border
.border-cdc254 {
  border: 2px solid #cdc254;
}
CSS variables
:root {
  --color-primary: #cdc254;
  --color-primary-rgb: 205 194 84;
  --color-primary-hsl: 55 55% 57%;
}
Gradient
.gradient-cdc254 {
  background: linear-gradient(135deg, #cdc254, #9bcd54);
}
Colored shadow
.shadow-cdc254 {
  box-shadow: 0 8px 24px rgb(205 194 84 / 0.35);
}

Vegas Gold
#cdc254  rgb(205, 194, 84)  hsl(55, 55%, 57%)  Vegas Gold
#545fcd  rgb(84, 95, 205)  hsl(235, 55%, 57%)  Slate Blue
#54cdc2  rgb(84, 205, 194)  hsl(175, 55%, 57%)  Medium Turquoise
#c254cd  rgb(194, 84, 205)  hsl(295, 55%, 57%)  Medium Orchid