#DFAC2F

#dfac2f ≈ Goldenrod

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

#dfac2f 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 18.43% blue; printed in CMYK it uses 0% cyan, 22.87% magenta, 78.92% yellow and 12.55% black. Its hue angle is 42.61°, with 73.33% saturation and 52.94% 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.08:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #dfac2f 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.454

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

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #c6b191 ≈ 0.001% of males
Protanopia #c2ac14 ≈ 1.01% of males
Deuteranopia #ceb936 ≈ 1.27% of males
Tritanopia #f29c94 ≈ 0.0001% of males
Protanomaly #ceac22 ≈ 1.08% of males
Deuteranomaly #d5b433 ≈ 4.63% of males
Tritanomaly #eba279 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#dfac2f  rgb(223, 172, 47)  hsl(43, 73%, 53%)  Goldenrod
#2f62df  rgb(47, 98, 223)  hsl(223, 73%, 53%)  Royal Blue
#2fdfac  rgb(47, 223, 172)  hsl(163, 73%, 53%)  Caribbean Green
#ac2fdf  rgb(172, 47, 223)  hsl(283, 73%, 53%)  Dark Orchid