#D8A20D

#d8a20d ≈ Goldenrod

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

#d8a20d is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 63.53% green and 5.1% blue; printed in CMYK it uses 0% cyan, 25% magenta, 93.98% yellow and 15.29% black. Its hue angle is 44.04°, with 88.65% saturation and 44.9% 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.09:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.06.

Description generated from the measured properties of this color.

Conversions of #d8a20d 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.4047

Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ababab ≈ 0.003% of males
Achromatomaly #bea788 ≈ 0.001% of males
Protanopia #b9a200 ≈ 1.01% of males
Deuteranopia #c6b01c ≈ 1.27% of males
Tritanopia #eb918a ≈ 0.0001% of males
Protanomaly #c6a200 ≈ 1.08% of males
Deuteranomaly #cdab17 ≈ 4.63% of males
Tritanomaly #e4986d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#d8a20d  rgb(216, 162, 13)  hsl(44, 89%, 45%)  Goldenrod
#0d43d8  rgb(13, 67, 216)  hsl(224, 89%, 45%)  Persian Blue
#0dd8a2  rgb(13, 216, 162)  hsl(164, 89%, 45%)  Caribbean Green
#a20dd8  rgb(162, 13, 216)  hsl(284, 89%, 45%)  Dark Violet