#D8A52D

#d8a52d ≈ Goldenrod

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

#d8a52d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 64.71% green and 17.65% blue; printed in CMYK it uses 0% cyan, 23.61% magenta, 79.17% yellow and 15.29% black. Its hue angle is 42.11°, with 68.67% saturation and 51.18% 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.34:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.05.

Description generated from the measured properties of this color.

Conversions of #d8a52d 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.417

Readable text 2.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #adadad ≈ 0.003% of males
Achromatomaly #c0aa8c ≈ 0.001% of males
Protanopia #bba514 ≈ 1.01% of males
Deuteranopia #c7b233 ≈ 1.27% of males
Tritanopia #eb958e ≈ 0.0001% of males
Protanomaly #c7a520 ≈ 1.08% of males
Deuteranomaly #cead31 ≈ 4.63% of males
Tritanomaly #e39c74 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8a52d {
  color: #d8a52d;
}
Background
.bg-d8a52d {
  background-color: #d8a52d;
  color: #000000;
}
Border
.border-d8a52d {
  border: 2px solid #d8a52d;
}
CSS variables
:root {
  --color-primary: #d8a52d;
  --color-primary-rgb: 216 165 45;
  --color-primary-hsl: 42 69% 51%;
}
Gradient
.gradient-d8a52d {
  background: linear-gradient(135deg, #d8a52d, #b5d82d);
}
Colored shadow
.shadow-d8a52d {
  box-shadow: 0 8px 24px rgb(216 165 45 / 0.35);
}

Goldenrod
#d8a52d  rgb(216, 165, 45)  hsl(42, 69%, 51%)  Goldenrod
#2d60d8  rgb(45, 96, 216)  hsl(222, 69%, 51%)  Royal Blue
#2dd8a5  rgb(45, 216, 165)  hsl(162, 69%, 51%)  Caribbean Green
#a52dd8  rgb(165, 45, 216)  hsl(282, 69%, 51%)  Dark Orchid