#CFA804

#cfa804 ≈ Metallic Gold

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cfa804 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 65.88% green and 1.57% blue; printed in CMYK it uses 0% cyan, 18.84% magenta, 98.07% yellow and 18.82% black. Its hue angle is 48.47°, with 96.21% saturation and 41.37% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 9.26:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.09.

Description generated from the measured properties of this color.

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

Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #acacac ≈ 0.003% of males
Achromatomaly #bbaa88 ≈ 0.001% of males
Protanopia #bda600 ≈ 1.01% of males
Deuteranopia #c6b11a ≈ 1.27% of males
Tritanopia #e1988f ≈ 0.0001% of males
Protanomaly #c4a700 ≈ 1.08% of males
Deuteranomaly #caad14 ≈ 4.63% of males
Tritanomaly #da9f71 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfa804 {
  color: #cfa804;
}
Background
.bg-cfa804 {
  background-color: #cfa804;
  color: #000000;
}
Border
.border-cfa804 {
  border: 2px solid #cfa804;
}
CSS variables
:root {
  --color-primary: #cfa804;
  --color-primary-rgb: 207 168 4;
  --color-primary-hsl: 48 96% 41%;
}
Gradient
.gradient-cfa804 {
  background: linear-gradient(135deg, #cfa804, #91cf04);
}
Colored shadow
.shadow-cfa804 {
  box-shadow: 0 8px 24px rgb(207 168 4 / 0.35);
}

Metallic Gold
#cfa804  rgb(207, 168, 4)  hsl(48, 96%, 41%)  Metallic Gold
#042bcf  rgb(4, 43, 207)  hsl(228, 96%, 41%)  Persian Blue
#04cfa8  rgb(4, 207, 168)  hsl(168, 96%, 41%)  Caribbean Green
#a804cf  rgb(168, 4, 207)  hsl(288, 96%, 41%)  Dark Orchid