#CDAF51

#cdaf51 ≈ Metallic Gold

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

#cdaf51 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.39% red, 68.63% green and 31.76% blue; printed in CMYK it uses 0% cyan, 14.63% magenta, 60.49% yellow and 19.61% black. Its hue angle is 45.48°, with 55.36% saturation and 56.08% 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.85:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.44.

Description generated from the measured properties of this color.

Conversions of #cdaf51 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.4423

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

Achromatopsia #b1b1b1 ≈ 0.003% of males
Achromatomaly #bdb094 ≈ 0.001% of males
Protanopia #c0ac47 ≈ 1.01% of males
Deuteranopia #c8b555 ≈ 1.27% of males
Tritanopia #dca29a ≈ 0.0001% of males
Protanomaly #c5ad4b ≈ 1.08% of males
Deuteranomaly #cab353 ≈ 4.63% of males
Tritanomaly #d6a883 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Metallic Gold
#cdaf51  rgb(205, 175, 81)  hsl(45, 55%, 56%)  Metallic Gold
#516fcd  rgb(81, 111, 205)  hsl(225, 55%, 56%)  Royal Blue
#51cdaf  rgb(81, 205, 175)  hsl(165, 55%, 56%)  Medium Aquamarine
#af51cd  rgb(175, 81, 205)  hsl(285, 55%, 56%)  Medium Orchid