#D8A62F

#d8a62f ≈ Goldenrod

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

#d8a62f 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.1% green and 18.43% blue; printed in CMYK it uses 0% cyan, 23.15% magenta, 78.24% yellow and 15.29% black. Its hue angle is 42.25°, 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.42:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 1.2.

Description generated from the measured properties of this color.

Conversions of #d8a62f 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.4208

Readable text 2.23:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aeaeae ≈ 0.003% of males
Achromatomaly #c0ab8c ≈ 0.001% of males
Protanopia #bca618 ≈ 1.01% of males
Deuteranopia #c7b335 ≈ 1.27% of males
Tritanopia #eb968f ≈ 0.0001% of males
Protanomaly #c8a623 ≈ 1.08% of males
Deuteranomaly #ceae33 ≈ 4.63% of males
Tritanomaly #e39d75 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#d8a62f  rgb(216, 166, 47)  hsl(42, 68%, 52%)  Goldenrod
#2f61d8  rgb(47, 97, 216)  hsl(222, 68%, 52%)  Royal Blue
#2fd8a6  rgb(47, 216, 166)  hsl(162, 68%, 52%)  Caribbean Green
#a62fd8  rgb(166, 47, 216)  hsl(282, 68%, 52%)  Dark Orchid