#D7B522

#d7b522 ≈ Old Gold

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

#d7b522 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 70.98% green and 13.33% blue; printed in CMYK it uses 0% cyan, 15.81% magenta, 84.19% yellow and 15.69% black. Its hue angle is 48.73°, with 72.69% saturation and 48.82% 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.52:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #d7b522 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.4761

Readable text 2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b7b7b7 ≈ 0.003% of males
Achromatomaly #c5b693 ≈ 0.001% of males
Protanopia #c9b200 ≈ 1.01% of males
Deuteranopia #d2bc2e ≈ 1.27% of males
Tritanopia #e9a69b ≈ 0.0001% of males
Protanomaly #cfb305 ≈ 1.08% of males
Deuteranomaly #d4b92a ≈ 4.63% of males
Tritanomaly #e2ac7c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#d7b522  rgb(215, 181, 34)  hsl(49, 73%, 49%)  Old Gold
#2244d7  rgb(34, 68, 215)  hsl(229, 73%, 49%)  Persian Blue
#22d7b5  rgb(34, 215, 181)  hsl(169, 73%, 49%)  Medium Aquamarine
#b522d7  rgb(181, 34, 215)  hsl(289, 73%, 49%)  Dark Orchid