#DCAF08

#dcaf08 ≈ Metallic Gold

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

#dcaf08 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 68.63% green and 3.14% blue; printed in CMYK it uses 0% cyan, 20.45% magenta, 96.36% yellow and 13.73% black. Its hue angle is 47.26°, with 92.98% saturation and 44.71% 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 10.18:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.26.

Description generated from the measured properties of this color.

Conversions of #dcaf08 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.4589

Readable text 2.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #c6b28f ≈ 0.001% of males
Protanopia #c5ad00 ≈ 1.01% of males
Deuteranopia #d0ba1d ≈ 1.27% of males
Tritanopia #ef9e95 ≈ 0.0001% of males
Protanomaly #cfae00 ≈ 1.08% of males
Deuteranomaly #d5b517 ≈ 4.63% of males
Tritanomaly #e8a576 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dcaf08 {
  color: #dcaf08;
}
Background
.bg-dcaf08 {
  background-color: #dcaf08;
  color: #000000;
}
Border
.border-dcaf08 {
  border: 2px solid #dcaf08;
}
CSS variables
:root {
  --color-primary: #dcaf08;
  --color-primary-rgb: 220 175 8;
  --color-primary-hsl: 47 93% 45%;
}
Gradient
.gradient-dcaf08 {
  background: linear-gradient(135deg, #dcaf08, #9fdc08);
}
Colored shadow
.shadow-dcaf08 {
  box-shadow: 0 8px 24px rgb(220 175 8 / 0.35);
}

Metallic Gold
#dcaf08  rgb(220, 175, 8)  hsl(47, 93%, 45%)  Metallic Gold
#0835dc  rgb(8, 53, 220)  hsl(227, 93%, 45%)  Persian Blue
#08dcaf  rgb(8, 220, 175)  hsl(167, 93%, 45%)  Caribbean Green
#af08dc  rgb(175, 8, 220)  hsl(287, 93%, 45%)  Dark Orchid