#DFA522

#dfa522 ≈ Goldenrod

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#dfa522 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 64.71% green and 13.33% blue; printed in CMYK it uses 0% cyan, 26.01% magenta, 84.75% yellow and 12.55% black. Its hue angle is 41.59°, with 74.7% saturation and 50.39% 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.54:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.43.

Description generated from the measured properties of this color.

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

Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #afafaf ≈ 0.003% of males
Achromatomaly #c4ab8c ≈ 0.001% of males
Protanopia #bca600 ≈ 1.01% of males
Deuteranopia #cab52a ≈ 1.27% of males
Tritanopia #f3948e ≈ 0.0001% of males
Protanomaly #cba60d ≈ 1.08% of males
Deuteranomaly #d3af27 ≈ 4.63% of males
Tritanomaly #eb9b72 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfa522 {
  color: #dfa522;
}
Background
.bg-dfa522 {
  background-color: #dfa522;
  color: #000000;
}
Border
.border-dfa522 {
  border: 2px solid #dfa522;
}
CSS variables
:root {
  --color-primary: #dfa522;
  --color-primary-rgb: 223 165 34;
  --color-primary-hsl: 42 75% 50%;
}
Gradient
.gradient-dfa522 {
  background: linear-gradient(135deg, #dfa522, #badf22);
}
Colored shadow
.shadow-dfa522 {
  box-shadow: 0 8px 24px rgb(223 165 34 / 0.35);
}

Goldenrod
#dfa522  rgb(223, 165, 34)  hsl(42, 75%, 50%)  Goldenrod
#225cdf  rgb(34, 92, 223)  hsl(222, 75%, 50%)  Royal Blue
#22dfa5  rgb(34, 223, 165)  hsl(162, 75%, 50%)  Caribbean Green
#a522df  rgb(165, 34, 223)  hsl(282, 75%, 50%)  Dark Orchid