#D5B520

#d5b520 ≈ Old Gold

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

#d5b520 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 70.98% green and 12.55% blue; printed in CMYK it uses 0% cyan, 15.02% magenta, 84.98% yellow and 16.47% black. Its hue angle is 49.39°, with 73.88% saturation and 48.04% 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.46:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.6.

Description generated from the measured properties of this color.

Conversions of #d5b520 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.473

Readable text 2.01:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b7b7b7 ≈ 0.003% of males
Achromatomaly #c4b692 ≈ 0.001% of males
Protanopia #c9b100 ≈ 1.01% of males
Deuteranopia #d1bb2d ≈ 1.27% of males
Tritanopia #e7a69b ≈ 0.0001% of males
Protanomaly #ceb300 ≈ 1.08% of males
Deuteranomaly #d3b928 ≈ 4.63% of males
Tritanomaly #e0ac7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5b520 {
  color: #d5b520;
}
Background
.bg-d5b520 {
  background-color: #d5b520;
  color: #000000;
}
Border
.border-d5b520 {
  border: 2px solid #d5b520;
}
CSS variables
:root {
  --color-primary: #d5b520;
  --color-primary-rgb: 213 181 32;
  --color-primary-hsl: 49 74% 48%;
}
Gradient
.gradient-d5b520 {
  background: linear-gradient(135deg, #d5b520, #9bd520);
}
Colored shadow
.shadow-d5b520 {
  box-shadow: 0 8px 24px rgb(213 181 32 / 0.35);
}

Old Gold
#d5b520  rgb(213, 181, 32)  hsl(49, 74%, 48%)  Old Gold
#2040d5  rgb(32, 64, 213)  hsl(229, 74%, 48%)  Persian Blue
#20d5b5  rgb(32, 213, 181)  hsl(169, 74%, 48%)  Medium Aquamarine
#b520d5  rgb(181, 32, 213)  hsl(289, 74%, 48%)  Dark Orchid