#DFA702

#dfa702 ≈ Goldenrod

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

#dfa702 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 65.49% green and 0.78% blue; printed in CMYK it uses 0% cyan, 25.11% magenta, 99.1% yellow and 12.55% black. Its hue angle is 44.8°, with 98.22% saturation and 44.12% 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.67:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.62.

Description generated from the measured properties of this color.

Conversions of #dfa702 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.4333

Readable text 2.17:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b0b0b0 ≈ 0.003% of males
Achromatomaly #c4ac8c ≈ 0.001% of males
Protanopia #bfa700 ≈ 1.01% of males
Deuteranopia #ccb617 ≈ 1.27% of males
Tritanopia #f3958e ≈ 0.0001% of males
Protanomaly #cca700 ≈ 1.08% of males
Deuteranomaly #d4b010 ≈ 4.63% of males
Tritanomaly #eb9d70 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfa702 {
  color: #dfa702;
}
Background
.bg-dfa702 {
  background-color: #dfa702;
  color: #000000;
}
Border
.border-dfa702 {
  border: 2px solid #dfa702;
}
CSS variables
:root {
  --color-primary: #dfa702;
  --color-primary-rgb: 223 167 2;
  --color-primary-hsl: 45 98% 44%;
}
Gradient
.gradient-dfa702 {
  background: linear-gradient(135deg, #dfa702, #a8df02);
}
Colored shadow
.shadow-dfa702 {
  box-shadow: 0 8px 24px rgb(223 167 2 / 0.35);
}

Goldenrod
#dfa702  rgb(223, 167, 2)  hsl(45, 98%, 44%)  Goldenrod
#023adf  rgb(2, 58, 223)  hsl(225, 98%, 44%)  Persian Blue
#02dfa7  rgb(2, 223, 167)  hsl(165, 98%, 44%)  Caribbean Green
#a702df  rgb(167, 2, 223)  hsl(285, 98%, 44%)  Dark Orchid