#D2A41B

#d2a41b ≈ Goldenrod

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

#d2a41b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 64.31% green and 10.59% blue; printed in CMYK it uses 0% cyan, 21.9% magenta, 87.14% yellow and 17.65% black. Its hue angle is 44.92°, with 77.22% saturation and 46.47% 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.07:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.09.

Description generated from the measured properties of this color.

Conversions of #d2a41b 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.4033

Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #bba888 ≈ 0.001% of males
Protanopia #b9a300 ≈ 1.01% of males
Deuteranopia #c4af26 ≈ 1.27% of males
Tritanopia #e4948c ≈ 0.0001% of males
Protanomaly #c4a300 ≈ 1.08% of males
Deuteranomaly #caab22 ≈ 4.63% of males
Tritanomaly #dd9b70 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2a41b {
  color: #d2a41b;
}
Background
.bg-d2a41b {
  background-color: #d2a41b;
  color: #000000;
}
Border
.border-d2a41b {
  border: 2px solid #d2a41b;
}
CSS variables
:root {
  --color-primary: #d2a41b;
  --color-primary-rgb: 210 164 27;
  --color-primary-hsl: 45 77% 46%;
}
Gradient
.gradient-d2a41b {
  background: linear-gradient(135deg, #d2a41b, #a4d21b);
}
Colored shadow
.shadow-d2a41b {
  box-shadow: 0 8px 24px rgb(210 164 27 / 0.35);
}

Goldenrod
#d2a41b  rgb(210, 164, 27)  hsl(45, 77%, 46%)  Goldenrod
#1b49d2  rgb(27, 73, 210)  hsl(225, 77%, 46%)  Sapphire
#1bd2a4  rgb(27, 210, 164)  hsl(165, 77%, 46%)  Caribbean Green
#a41bd2  rgb(164, 27, 210)  hsl(285, 77%, 46%)  Dark Orchid