#CFAB0F

#cfab0f ≈ Metallic Gold

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

#cfab0f 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 5.88% blue; printed in CMYK it uses 0% cyan, 17.39% magenta, 92.75% yellow and 18.82% black. Its hue angle is 48.75°, with 86.49% saturation and 43.53% 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.49:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 2.72.

Description generated from the measured properties of this color.

Conversions of #cfab0f 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.4243

Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #bcad8b ≈ 0.001% of males
Protanopia #bfa800 ≈ 1.01% of males
Deuteranopia #c8b320 ≈ 1.27% of males
Tritanopia #e19c92 ≈ 0.0001% of males
Protanomaly #c6a900 ≈ 1.08% of males
Deuteranomaly #cbb01b ≈ 4.63% of males
Tritanomaly #daa274 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Metallic Gold
#cfab0f  rgb(207, 171, 15)  hsl(49, 86%, 44%)  Metallic Gold
#0f33cf  rgb(15, 51, 207)  hsl(229, 86%, 44%)  Persian Blue
#0fcfab  rgb(15, 207, 171)  hsl(169, 86%, 44%)  Caribbean Green
#ab0fcf  rgb(171, 15, 207)  hsl(289, 86%, 44%)  Dark Orchid