#CFAF50

#cfaf50 ≈ Metallic Gold

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#cfaf50 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 68.63% green and 31.37% blue; printed in CMYK it uses 0% cyan, 15.46% magenta, 61.35% yellow and 18.82% black. Its hue angle is 44.88°, with 56.95% saturation and 56.27% 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.9:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.11.

Description generated from the measured properties of this color.

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

Readable text 2.12:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b2b2b2 ≈ 0.003% of males
Achromatomaly #beb195 ≈ 0.001% of males
Protanopia #c0ad46 ≈ 1.01% of males
Deuteranopia #c8b654 ≈ 1.27% of males
Tritanopia #dfa29a ≈ 0.0001% of males
Protanomaly #c6ae4a ≈ 1.08% of males
Deuteranomaly #cbb352 ≈ 4.63% of males
Tritanomaly #d9a783 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfaf50 {
  color: #cfaf50;
}
Background
.bg-cfaf50 {
  background-color: #cfaf50;
  color: #000000;
}
Border
.border-cfaf50 {
  border: 2px solid #cfaf50;
}
CSS variables
:root {
  --color-primary: #cfaf50;
  --color-primary-rgb: 207 175 80;
  --color-primary-hsl: 45 57% 56%;
}
Gradient
.gradient-cfaf50 {
  background: linear-gradient(135deg, #cfaf50, #afcf50);
}
Colored shadow
.shadow-cfaf50 {
  box-shadow: 0 8px 24px rgb(207 175 80 / 0.35);
}

Metallic Gold
#cfaf50  rgb(207, 175, 80)  hsl(45, 57%, 56%)  Metallic Gold
#5070cf  rgb(80, 112, 207)  hsl(225, 57%, 56%)  Royal Blue
#50cfaf  rgb(80, 207, 175)  hsl(165, 57%, 56%)  Medium Aquamarine
#af50cf  rgb(175, 80, 207)  hsl(285, 57%, 56%)  Medium Orchid