#CFAB04

#cfab04 ≈ Metallic Gold

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

#cfab04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 67.06% green and 1.57% blue; printed in CMYK it uses 0% cyan, 17.39% magenta, 98.07% yellow and 18.82% black. Its hue angle is 49.36°, 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.48:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.01.

Description generated from the measured properties of this color.

Conversions of #cfab04 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.424

Readable text 2.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #bcad8a ≈ 0.001% of males
Protanopia #bfa800 ≈ 1.01% of males
Deuteranopia #c8b31c ≈ 1.27% of males
Tritanopia #e19c91 ≈ 0.0001% of males
Protanomaly #c6a900 ≈ 1.08% of males
Deuteranomaly #cbb015 ≈ 4.63% of males
Tritanomaly #daa273 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Metallic Gold
#cfab04  rgb(207, 171, 4)  hsl(49, 96%, 41%)  Metallic Gold
#0428cf  rgb(4, 40, 207)  hsl(229, 96%, 41%)  Persian Blue
#04cfab  rgb(4, 207, 171)  hsl(169, 96%, 41%)  Caribbean Green
#ab04cf  rgb(171, 4, 207)  hsl(289, 96%, 41%)  Dark Orchid