#CFA522

#cfa522 ≈ Metallic Gold

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

#cfa522 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 64.71% green and 13.33% blue; printed in CMYK it uses 0% cyan, 20.29% magenta, 83.57% yellow and 18.82% black. Its hue angle is 45.43°, with 71.78% saturation and 47.25% 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.06:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 2.97.

Description generated from the measured properties of this color.

Conversions of #cfa522 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.4029

Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #baa888 ≈ 0.001% of males
Protanopia #b9a400 ≈ 1.01% of males
Deuteranopia #c4af2b ≈ 1.27% of males
Tritanopia #e1968d ≈ 0.0001% of males
Protanomaly #c2a40d ≈ 1.08% of males
Deuteranomaly #c8ab28 ≈ 4.63% of males
Tritanomaly #da9c72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfa522 {
  color: #cfa522;
}
Background
.bg-cfa522 {
  background-color: #cfa522;
  color: #000000;
}
Border
.border-cfa522 {
  border: 2px solid #cfa522;
}
CSS variables
:root {
  --color-primary: #cfa522;
  --color-primary-rgb: 207 165 34;
  --color-primary-hsl: 45 72% 47%;
}
Gradient
.gradient-cfa522 {
  background: linear-gradient(135deg, #cfa522, #a2cf22);
}
Colored shadow
.shadow-cfa522 {
  box-shadow: 0 8px 24px rgb(207 165 34 / 0.35);
}

Metallic Gold
#cfa522  rgb(207, 165, 34)  hsl(45, 72%, 47%)  Metallic Gold
#224ccf  rgb(34, 76, 207)  hsl(225, 72%, 47%)  Sapphire
#22cfa5  rgb(34, 207, 165)  hsl(165, 72%, 47%)  Caribbean Green
#a522cf  rgb(165, 34, 207)  hsl(285, 72%, 47%)  Dark Orchid