#CFA628

#cfa628 ≈ Metallic Gold

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

#cfa628 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 65.1% green and 15.69% blue; printed in CMYK it uses 0% cyan, 19.81% magenta, 80.68% yellow and 18.82% black. Its hue angle is 45.27°, with 67.61% saturation and 48.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 9.14:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 2.59.

Description generated from the measured properties of this color.

Conversions of #cfa628 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.4069

Readable text 2.3:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ababab ≈ 0.003% of males
Achromatomaly #baa98a ≈ 0.001% of males
Protanopia #baa405 ≈ 1.01% of males
Deuteranopia #c4b030 ≈ 1.27% of males
Tritanopia #e1978f ≈ 0.0001% of males
Protanomaly #c3a518 ≈ 1.08% of males
Deuteranomaly #c9ac2d ≈ 4.63% of males
Tritanomaly #da9d73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfa628 {
  color: #cfa628;
}
Background
.bg-cfa628 {
  background-color: #cfa628;
  color: #000000;
}
Border
.border-cfa628 {
  border: 2px solid #cfa628;
}
CSS variables
:root {
  --color-primary: #cfa628;
  --color-primary-rgb: 207 166 40;
  --color-primary-hsl: 45 68% 48%;
}
Gradient
.gradient-cfa628 {
  background: linear-gradient(135deg, #cfa628, #a4cf28);
}
Colored shadow
.shadow-cfa628 {
  box-shadow: 0 8px 24px rgb(207 166 40 / 0.35);
}

Metallic Gold
#cfa628  rgb(207, 166, 40)  hsl(45, 68%, 48%)  Metallic Gold
#2851cf  rgb(40, 81, 207)  hsl(225, 68%, 48%)  Sapphire
#28cfa6  rgb(40, 207, 166)  hsl(165, 68%, 48%)  Caribbean Green
#a628cf  rgb(166, 40, 207)  hsl(285, 68%, 48%)  Dark Orchid