#D8A71F

#d8a71f ≈ Goldenrod

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

#d8a71f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 65.49% green and 12.16% blue; printed in CMYK it uses 0% cyan, 22.69% magenta, 85.65% yellow and 15.29% black. Its hue angle is 44.11°, with 74.9% saturation and 48.43% 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.47:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.26.

Description generated from the measured properties of this color.

Conversions of #d8a71f 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.4234

Readable text 2.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #c0ab8b ≈ 0.001% of males
Protanopia #bda600 ≈ 1.01% of males
Deuteranopia #c9b329 ≈ 1.27% of males
Tritanopia #eb978f ≈ 0.0001% of males
Protanomaly #c8a705 ≈ 1.08% of males
Deuteranomaly #cfaf25 ≈ 4.63% of males
Tritanomaly #e49d73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#d8a71f  rgb(216, 167, 31)  hsl(44, 75%, 48%)  Goldenrod
#1f50d8  rgb(31, 80, 216)  hsl(224, 75%, 48%)  Sapphire
#1fd8a7  rgb(31, 216, 167)  hsl(164, 75%, 48%)  Caribbean Green
#a71fd8  rgb(167, 31, 216)  hsl(284, 75%, 48%)  Dark Orchid