#CDC251

#cdc251 ≈ Vegas Gold

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

#cdc251 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 31.76% blue; printed in CMYK it uses 0% cyan, 5.37% magenta, 60.49% yellow and 19.61% black. Its hue angle is 54.68°, with 55.36% saturation and 56.08% 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.43:1 (WCAG AAA). The closest named color is Vegas Gold (#c5b358), ΔE 4.92.

Description generated from the measured properties of this color.

Conversions of #cdc251 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.5216

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

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c5c09f ≈ 0.001% of males
Protanopia #d2bc44 ≈ 1.01% of males
Deuteranopia #d6c257 ≈ 1.27% of males
Tritanopia #dbb6aa ≈ 0.0001% of males
Protanomaly #d0be4a ≈ 1.08% of males
Deuteranomaly #d2c255 ≈ 4.63% of males
Tritanomaly #d6bb8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Vegas Gold
#cdc251  rgb(205, 194, 81)  hsl(55, 55%, 56%)  Vegas Gold
#515ccd  rgb(81, 92, 205)  hsl(235, 55%, 56%)  Slate Blue
#51cdc2  rgb(81, 205, 194)  hsl(175, 55%, 56%)  Medium Turquoise
#c251cd  rgb(194, 81, 205)  hsl(295, 55%, 56%)  Medium Orchid