#CCAB2F

#ccab2f ≈ Metallic Gold

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#ccab2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 67.06% green and 18.43% blue; printed in CMYK it uses 0% cyan, 16.18% magenta, 76.96% yellow and 20% black. Its hue angle is 47.39°, with 62.55% saturation and 49.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 9.43:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 1.79.

Description generated from the measured properties of this color.

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

Readable text 2.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #bbad8d ≈ 0.001% of males
Protanopia #bea816 ≈ 1.01% of males
Deuteranopia #c6b237 ≈ 1.27% of males
Tritanopia #dd9d93 ≈ 0.0001% of males
Protanomaly #c4a922 ≈ 1.08% of males
Deuteranomaly #c9af34 ≈ 4.63% of males
Tritanomaly #d6a378 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccab2f {
  color: #ccab2f;
}
Background
.bg-ccab2f {
  background-color: #ccab2f;
  color: #000000;
}
Border
.border-ccab2f {
  border: 2px solid #ccab2f;
}
CSS variables
:root {
  --color-primary: #ccab2f;
  --color-primary-rgb: 204 171 47;
  --color-primary-hsl: 47 63% 49%;
}
Gradient
.gradient-ccab2f {
  background: linear-gradient(135deg, #ccab2f, #9fcc2f);
}
Colored shadow
.shadow-ccab2f {
  box-shadow: 0 8px 24px rgb(204 171 47 / 0.35);
}

Metallic Gold
#ccab2f  rgb(204, 171, 47)  hsl(47, 63%, 49%)  Metallic Gold
#2f50cc  rgb(47, 80, 204)  hsl(227, 63%, 49%)  Sapphire
#2fccab  rgb(47, 204, 171)  hsl(167, 63%, 49%)  Medium Aquamarine
#ab2fcc  rgb(171, 47, 204)  hsl(287, 63%, 49%)  Dark Orchid