#DFA217

#dfa217 ≈ Goldenrod

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

#dfa217 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 63.53% green and 9.02% blue; printed in CMYK it uses 0% cyan, 27.35% magenta, 89.69% yellow and 12.55% black. Its hue angle is 41.7°, with 81.3% saturation and 48.24% 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.32:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.11.

Description generated from the measured properties of this color.

Conversions of #dfa217 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.4159

Readable text 2.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #adadad ≈ 0.003% of males
Achromatomaly #c3a88a ≈ 0.001% of males
Protanopia #baa400 ≈ 1.01% of males
Deuteranopia #c8b321 ≈ 1.27% of males
Tritanopia #f3908a ≈ 0.0001% of males
Protanomaly #caa300 ≈ 1.08% of males
Deuteranomaly #d2ac1d ≈ 4.63% of males
Tritanomaly #eb986e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfa217 {
  color: #dfa217;
}
Background
.bg-dfa217 {
  background-color: #dfa217;
  color: #000000;
}
Border
.border-dfa217 {
  border: 2px solid #dfa217;
}
CSS variables
:root {
  --color-primary: #dfa217;
  --color-primary-rgb: 223 162 23;
  --color-primary-hsl: 42 81% 48%;
}
Gradient
.gradient-dfa217 {
  background: linear-gradient(135deg, #dfa217, #b8df17);
}
Colored shadow
.shadow-dfa217 {
  box-shadow: 0 8px 24px rgb(223 162 23 / 0.35);
}

Goldenrod
#dfa217  rgb(223, 162, 23)  hsl(42, 81%, 48%)  Goldenrod
#1754df  rgb(23, 84, 223)  hsl(222, 81%, 48%)  Sapphire
#17dfa2  rgb(23, 223, 162)  hsl(162, 81%, 48%)  Caribbean Green
#a217df  rgb(162, 23, 223)  hsl(282, 81%, 48%)  Dark Orchid