#CCB162

#ccb162 ≈ Vegas Gold

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

#ccb162 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80% red, 69.41% green and 38.43% blue; printed in CMYK it uses 0% cyan, 13.24% magenta, 51.96% yellow and 20% black. Its hue angle is 44.72°, with 50.96% saturation and 59.22% 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.03:1 (WCAG AAA). The closest named color is Vegas Gold (#c5b358), ΔE 3.53.

Description generated from the measured properties of this color.

Conversions of #ccb162 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc9966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.4516

Readable text 2.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b3b3b3 ≈ 0.003% of males
Achromatomaly #beb299 ≈ 0.001% of males
Protanopia #c0af5b ≈ 1.01% of males
Deuteranopia #c7b665 ≈ 1.27% of males
Tritanopia #daa69e ≈ 0.0001% of males
Protanomaly #c5b05e ≈ 1.08% of males
Deuteranomaly #c9b464 ≈ 4.63% of males
Tritanomaly #d5aa8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccb162 {
  color: #ccb162;
}
Background
.bg-ccb162 {
  background-color: #ccb162;
  color: #000000;
}
Border
.border-ccb162 {
  border: 2px solid #ccb162;
}
CSS variables
:root {
  --color-primary: #ccb162;
  --color-primary-rgb: 204 177 98;
  --color-primary-hsl: 45 51% 59%;
}
Gradient
.gradient-ccb162 {
  background: linear-gradient(135deg, #ccb162, #b2cc62);
}
Colored shadow
.shadow-ccb162 {
  box-shadow: 0 8px 24px rgb(204 177 98 / 0.35);
}

Vegas Gold
#ccb162  rgb(204, 177, 98)  hsl(45, 51%, 59%)  Vegas Gold
#627dcc  rgb(98, 125, 204)  hsl(225, 51%, 59%)  Glaucous
#62ccb1  rgb(98, 204, 177)  hsl(165, 51%, 59%)  Medium Aquamarine
#b162cc  rgb(177, 98, 204)  hsl(285, 51%, 59%)  Medium Orchid