#CFAF40

#cfaf40 ≈ Metallic Gold

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

#cfaf40 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 68.63% green and 25.1% blue; printed in CMYK it uses 0% cyan, 15.46% magenta, 69.08% yellow and 18.82% black. Its hue angle is 46.57°, with 59.83% saturation and 53.14% 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.86:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 1.58.

Description generated from the measured properties of this color.

Conversions of #cfaf40 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.443

Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b2b2b2 ≈ 0.003% of males
Achromatomaly #beb192 ≈ 0.001% of males
Protanopia #c1ac31 ≈ 1.01% of males
Deuteranopia #c9b646 ≈ 1.27% of males
Tritanopia #dfa198 ≈ 0.0001% of males
Protanomaly #c7ad38 ≈ 1.08% of males
Deuteranomaly #ccb343 ≈ 4.63% of males
Tritanomaly #d9a77e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfaf40 {
  color: #cfaf40;
}
Background
.bg-cfaf40 {
  background-color: #cfaf40;
  color: #000000;
}
Border
.border-cfaf40 {
  border: 2px solid #cfaf40;
}
CSS variables
:root {
  --color-primary: #cfaf40;
  --color-primary-rgb: 207 175 64;
  --color-primary-hsl: 47 60% 53%;
}
Gradient
.gradient-cfaf40 {
  background: linear-gradient(135deg, #cfaf40, #a8cf40);
}
Colored shadow
.shadow-cfaf40 {
  box-shadow: 0 8px 24px rgb(207 175 64 / 0.35);
}

Metallic Gold
#cfaf40  rgb(207, 175, 64)  hsl(47, 60%, 53%)  Metallic Gold
#4060cf  rgb(64, 96, 207)  hsl(227, 60%, 53%)  Royal Blue
#40cfaf  rgb(64, 207, 175)  hsl(167, 60%, 53%)  Medium Aquamarine
#af40cf  rgb(175, 64, 207)  hsl(287, 60%, 53%)  Medium Orchid