#D8A42F

#d8a42f ≈ Goldenrod

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

#d8a42f 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.31% green and 18.43% blue; printed in CMYK it uses 0% cyan, 24.07% magenta, 78.24% yellow and 15.29% black. Its hue angle is 41.54°, with 68.42% saturation and 51.57% 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.27:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.38.

Description generated from the measured properties of this color.

Conversions of #d8a42f 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.4136

Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #acacac ≈ 0.003% of males
Achromatomaly #bfa98b ≈ 0.001% of males
Protanopia #baa418 ≈ 1.01% of males
Deuteranopia #c6b235 ≈ 1.27% of males
Tritanopia #eb948e ≈ 0.0001% of males
Protanomaly #c7a423 ≈ 1.08% of males
Deuteranomaly #cdac33 ≈ 4.63% of males
Tritanomaly #e39b73 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8a42f {
  color: #d8a42f;
}
Background
.bg-d8a42f {
  background-color: #d8a42f;
  color: #000000;
}
Border
.border-d8a42f {
  border: 2px solid #d8a42f;
}
CSS variables
:root {
  --color-primary: #d8a42f;
  --color-primary-rgb: 216 164 47;
  --color-primary-hsl: 42 68% 52%;
}
Gradient
.gradient-d8a42f {
  background: linear-gradient(135deg, #d8a42f, #b7d82f);
}
Colored shadow
.shadow-d8a42f {
  box-shadow: 0 8px 24px rgb(216 164 47 / 0.35);
}

Goldenrod
#d8a42f  rgb(216, 164, 47)  hsl(42, 68%, 52%)  Goldenrod
#2f63d8  rgb(47, 99, 216)  hsl(222, 68%, 52%)  Royal Blue
#2fd8a4  rgb(47, 216, 164)  hsl(162, 68%, 52%)  Caribbean Green
#a42fd8  rgb(164, 47, 216)  hsl(282, 68%, 52%)  Dark Orchid