#C5A01F

#c5a01f ≈ Metallic Gold

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

#c5a01f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 62.75% green and 12.16% blue; printed in CMYK it uses 0% cyan, 18.78% magenta, 84.26% yellow and 22.75% black. Its hue angle is 46.63°, with 72.81% saturation and 44.71% 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 8.42:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 4.29.

Description generated from the measured properties of this color.

Conversions of #c5a01f 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.3711

Readable text 2.49:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #b2a283 ≈ 0.001% of males
Protanopia #b39e00 ≈ 1.01% of males
Deuteranopia #bca829 ≈ 1.27% of males
Tritanopia #d69289 ≈ 0.0001% of males
Protanomaly #bb9f09 ≈ 1.08% of males
Deuteranomaly #c0a525 ≈ 4.63% of males
Tritanomaly #cf986e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c5a01f {
  color: #c5a01f;
}
Background
.bg-c5a01f {
  background-color: #c5a01f;
  color: #000000;
}
Border
.border-c5a01f {
  border: 2px solid #c5a01f;
}
CSS variables
:root {
  --color-primary: #c5a01f;
  --color-primary-rgb: 197 160 31;
  --color-primary-hsl: 47 73% 45%;
}
Gradient
.gradient-c5a01f {
  background: linear-gradient(135deg, #c5a01f, #97c51f);
}
Colored shadow
.shadow-c5a01f {
  box-shadow: 0 8px 24px rgb(197 160 31 / 0.35);
}

Metallic Gold
#c5a01f  rgb(197, 160, 31)  hsl(47, 73%, 45%)  Metallic Gold
#1f44c5  rgb(31, 68, 197)  hsl(227, 73%, 45%)  Persian Blue
#1fc5a0  rgb(31, 197, 160)  hsl(167, 73%, 45%)  Caribbean Green
#a01fc5  rgb(160, 31, 197)  hsl(287, 73%, 45%)  Dark Orchid