#CFBA5B

#cfba5b ≈ Vegas Gold

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

#cfba5b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 72.94% green and 35.69% blue; printed in CMYK it uses 0% cyan, 10.14% magenta, 56.04% yellow and 18.82% black. Its hue angle is 49.14°, with 54.72% saturation and 58.43% 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 10.83:1 (WCAG AAA). The closest named color is Vegas Gold (#c5b358), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #cfba5b 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.4914

Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #c3ba9d ≈ 0.001% of males
Protanopia #cab652 ≈ 1.01% of males
Deuteranopia #d0bd5f ≈ 1.27% of males
Tritanopia #deaea5 ≈ 0.0001% of males
Protanomaly #ccb856 ≈ 1.08% of males
Deuteranomaly #cfbc5e ≈ 4.63% of males
Tritanomaly #d8b38d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfba5b {
  color: #cfba5b;
}
Background
.bg-cfba5b {
  background-color: #cfba5b;
  color: #000000;
}
Border
.border-cfba5b {
  border: 2px solid #cfba5b;
}
CSS variables
:root {
  --color-primary: #cfba5b;
  --color-primary-rgb: 207 186 91;
  --color-primary-hsl: 49 55% 58%;
}
Gradient
.gradient-cfba5b {
  background: linear-gradient(135deg, #cfba5b, #aacf5b);
}
Colored shadow
.shadow-cfba5b {
  box-shadow: 0 8px 24px rgb(207 186 91 / 0.35);
}

Vegas Gold
#cfba5b  rgb(207, 186, 91)  hsl(49, 55%, 58%)  Vegas Gold
#5b70cf  rgb(91, 112, 207)  hsl(229, 55%, 58%)  Royal Blue
#5bcfba  rgb(91, 207, 186)  hsl(169, 55%, 58%)  Medium Aquamarine
#ba5bcf  rgb(186, 91, 207)  hsl(289, 55%, 58%)  Medium Orchid