#DFA804

#dfa804 ≈ Goldenrod

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

#dfa804 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 65.88% green and 1.57% blue; printed in CMYK it uses 0% cyan, 24.66% magenta, 98.21% yellow and 12.55% black. Its hue angle is 44.93°, with 96.48% saturation and 44.51% 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.74:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.72.

Description generated from the measured properties of this color.

Conversions of #dfa804 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.437

Readable text 2.16:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b1b1b1 ≈ 0.003% of males
Achromatomaly #c5ad8c ≈ 0.001% of males
Protanopia #c0a800 ≈ 1.01% of males
Deuteranopia #cdb618 ≈ 1.27% of males
Tritanopia #f3968f ≈ 0.0001% of males
Protanomaly #cda800 ≈ 1.08% of males
Deuteranomaly #d4b112 ≈ 4.63% of males
Tritanomaly #eb9e71 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfa804 {
  color: #dfa804;
}
Background
.bg-dfa804 {
  background-color: #dfa804;
  color: #000000;
}
Border
.border-dfa804 {
  border: 2px solid #dfa804;
}
CSS variables
:root {
  --color-primary: #dfa804;
  --color-primary-rgb: 223 168 4;
  --color-primary-hsl: 45 96% 45%;
}
Gradient
.gradient-dfa804 {
  background: linear-gradient(135deg, #dfa804, #a9df04);
}
Colored shadow
.shadow-dfa804 {
  box-shadow: 0 8px 24px rgb(223 168 4 / 0.35);
}

Goldenrod
#dfa804  rgb(223, 168, 4)  hsl(45, 96%, 45%)  Goldenrod
#043bdf  rgb(4, 59, 223)  hsl(225, 96%, 45%)  Persian Blue
#04dfa8  rgb(4, 223, 168)  hsl(165, 96%, 45%)  Caribbean Green
#a804df  rgb(168, 4, 223)  hsl(285, 96%, 45%)  Dark Orchid