#D8A212

#d8a212 ≈ Goldenrod

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

#d8a212 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 7.06% blue; printed in CMYK it uses 0% cyan, 25% magenta, 91.67% yellow and 15.29% black. Its hue angle is 43.64°, with 84.62% saturation and 45.88% 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.1:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 0.95.

Description generated from the measured properties of this color.

Conversions of #d8a212 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.4048

Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.1: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 #c6b01e ≈ 1.27% of males
Tritanopia #eb918a ≈ 0.0001% of males
Protanomaly #c6a200 ≈ 1.08% of males
Deuteranomaly #cdab1a ≈ 4.63% of males
Tritanomaly #e4986e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#d8a212  rgb(216, 162, 18)  hsl(44, 85%, 46%)  Goldenrod
#1248d8  rgb(18, 72, 216)  hsl(224, 85%, 46%)  Persian Blue
#12d8a2  rgb(18, 216, 162)  hsl(164, 85%, 46%)  Caribbean Green
#a212d8  rgb(162, 18, 216)  hsl(284, 85%, 46%)  Dark Orchid