#D2B528

#d2b528 ≈ Old Gold

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

#d2b528 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 70.98% green and 15.69% blue; printed in CMYK it uses 0% cyan, 13.81% magenta, 80.95% yellow and 17.65% black. Its hue angle is 49.76°, with 68% saturation and 49.02% 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 10.38:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 1.78.

Description generated from the measured properties of this color.

Conversions of #d2b528 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.469

Readable text 2.02:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b6b6b6 ≈ 0.003% of males
Achromatomaly #c2b693 ≈ 0.001% of males
Protanopia #c8b100 ≈ 1.01% of males
Deuteranopia #d0ba33 ≈ 1.27% of males
Tritanopia #e3a69b ≈ 0.0001% of males
Protanomaly #ccb314 ≈ 1.08% of males
Deuteranomaly #d1b82f ≈ 4.63% of males
Tritanomaly #ddac7d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2b528 {
  color: #d2b528;
}
Background
.bg-d2b528 {
  background-color: #d2b528;
  color: #000000;
}
Border
.border-d2b528 {
  border: 2px solid #d2b528;
}
CSS variables
:root {
  --color-primary: #d2b528;
  --color-primary-rgb: 210 181 40;
  --color-primary-hsl: 50 68% 49%;
}
Gradient
.gradient-d2b528 {
  background: linear-gradient(135deg, #d2b528, #9ad228);
}
Colored shadow
.shadow-d2b528 {
  box-shadow: 0 8px 24px rgb(210 181 40 / 0.35);
}

Old Gold
#d2b528  rgb(210, 181, 40)  hsl(50, 68%, 49%)  Old Gold
#2845d2  rgb(40, 69, 210)  hsl(230, 68%, 49%)  Persian Blue
#28d2b5  rgb(40, 210, 181)  hsl(170, 68%, 49%)  Medium Aquamarine
#b528d2  rgb(181, 40, 210)  hsl(290, 68%, 49%)  Dark Orchid