#DFAC2A

#dfac2a ≈ Goldenrod

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

#dfac2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 67.45% green and 16.47% blue; printed in CMYK it uses 0% cyan, 22.87% magenta, 81.17% yellow and 12.55% black. Its hue angle is 43.09°, with 73.88% saturation and 51.96% 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 10.07:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.91.

Description generated from the measured properties of this color.

Conversions of #dfac2a 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.4536

Readable text 2.08:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #c6b191 ≈ 0.001% of males
Protanopia #c2ac05 ≈ 1.01% of males
Deuteranopia #cfb932 ≈ 1.27% of males
Tritanopia #f29b94 ≈ 0.0001% of males
Protanomaly #ceac1a ≈ 1.08% of males
Deuteranomaly #d5b42f ≈ 4.63% of males
Tritanomaly #eba278 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfac2a {
  color: #dfac2a;
}
Background
.bg-dfac2a {
  background-color: #dfac2a;
  color: #000000;
}
Border
.border-dfac2a {
  border: 2px solid #dfac2a;
}
CSS variables
:root {
  --color-primary: #dfac2a;
  --color-primary-rgb: 223 172 42;
  --color-primary-hsl: 43 74% 52%;
}
Gradient
.gradient-dfac2a {
  background: linear-gradient(135deg, #dfac2a, #b8df2a);
}
Colored shadow
.shadow-dfac2a {
  box-shadow: 0 8px 24px rgb(223 172 42 / 0.35);
}

Goldenrod
#dfac2a  rgb(223, 172, 42)  hsl(43, 74%, 52%)  Goldenrod
#2a5ddf  rgb(42, 93, 223)  hsl(223, 74%, 52%)  Royal Blue
#2adfac  rgb(42, 223, 172)  hsl(163, 74%, 52%)  Caribbean Green
#ac2adf  rgb(172, 42, 223)  hsl(283, 74%, 52%)  Dark Orchid