#DCA31F

#dca31f ≈ Goldenrod

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

#dca31f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 63.92% green and 12.16% blue; printed in CMYK it uses 0% cyan, 25.91% magenta, 85.91% yellow and 13.73% black. Its hue angle is 41.9°, with 75.3% saturation and 49.22% 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.3:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.19.

Description generated from the measured properties of this color.

Conversions of #dca31f 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.4151

Readable text 2.26:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #acacac ≈ 0.003% of males
Achromatomaly #c1a98a ≈ 0.001% of males
Protanopia #baa400 ≈ 1.01% of males
Deuteranopia #c8b227 ≈ 1.27% of males
Tritanopia #f0928c ≈ 0.0001% of males
Protanomaly #c9a406 ≈ 1.08% of males
Deuteranomaly #d0ac24 ≈ 4.63% of males
Tritanomaly #e89970 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dca31f {
  color: #dca31f;
}
Background
.bg-dca31f {
  background-color: #dca31f;
  color: #000000;
}
Border
.border-dca31f {
  border: 2px solid #dca31f;
}
CSS variables
:root {
  --color-primary: #dca31f;
  --color-primary-rgb: 220 163 31;
  --color-primary-hsl: 42 75% 49%;
}
Gradient
.gradient-dca31f {
  background: linear-gradient(135deg, #dca31f, #b7dc1f);
}
Colored shadow
.shadow-dca31f {
  box-shadow: 0 8px 24px rgb(220 163 31 / 0.35);
}

Goldenrod
#dca31f  rgb(220, 163, 31)  hsl(42, 75%, 49%)  Goldenrod
#1f58dc  rgb(31, 88, 220)  hsl(222, 75%, 49%)  Sapphire
#1fdca3  rgb(31, 220, 163)  hsl(162, 75%, 49%)  Caribbean Green
#a31fdc  rgb(163, 31, 220)  hsl(282, 75%, 49%)  Dark Orchid