#CEC159

#cec159 ≈ Vegas Gold

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

#cec159 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.78% red, 75.69% green and 34.9% blue; printed in CMYK it uses 0% cyan, 6.31% magenta, 56.8% yellow and 19.22% black. Its hue angle is 53.33°, with 54.42% saturation and 57.84% 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.4:1 (WCAG AAA). The closest named color is Vegas Gold (#c5b358), ΔE 4.08.

Description generated from the measured properties of this color.

Conversions of #cec159 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.5198

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

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c5c0a0 ≈ 0.001% of males
Protanopia #d1bb4e ≈ 1.01% of males
Deuteranopia #d5c15e ≈ 1.27% of males
Tritanopia #dcb5aa ≈ 0.0001% of males
Protanomaly #d0be53 ≈ 1.08% of males
Deuteranomaly #d2c15c ≈ 4.63% of males
Tritanomaly #d7ba91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec159 {
  color: #cec159;
}
Background
.bg-cec159 {
  background-color: #cec159;
  color: #000000;
}
Border
.border-cec159 {
  border: 2px solid #cec159;
}
CSS variables
:root {
  --color-primary: #cec159;
  --color-primary-rgb: 206 193 89;
  --color-primary-hsl: 53 54% 58%;
}
Gradient
.gradient-cec159 {
  background: linear-gradient(135deg, #cec159, #a0ce59);
}
Colored shadow
.shadow-cec159 {
  box-shadow: 0 8px 24px rgb(206 193 89 / 0.35);
}

Vegas Gold
#cec159  rgb(206, 193, 89)  hsl(53, 54%, 58%)  Vegas Gold
#5966ce  rgb(89, 102, 206)  hsl(233, 54%, 58%)  Royal Blue
#59cec1  rgb(89, 206, 193)  hsl(173, 54%, 58%)  Medium Turquoise
#c159ce  rgb(193, 89, 206)  hsl(293, 54%, 58%)  Medium Orchid