#D7BE21

#d7be21 ≈ Old Gold

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

#d7be21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 74.51% green and 12.94% blue; printed in CMYK it uses 0% cyan, 11.63% magenta, 84.65% yellow and 15.69% black. Its hue angle is 51.76°, with 73.39% saturation and 48.63% 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 11.28:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.6.

Description generated from the measured properties of this color.

Conversions of #d7be21 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.5138

Readable text 1.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c8be98 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d8c22f ≈ 1.27% of males
Tritanopia #e9afa3 ≈ 0.0001% of males
Protanomaly #d4bb00 ≈ 1.08% of males
Deuteranomaly #d8c02a ≈ 4.63% of males
Tritanomaly #e2b582 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#d7be21  rgb(215, 190, 33)  hsl(52, 73%, 49%)  Old Gold
#213ad7  rgb(33, 58, 215)  hsl(232, 73%, 49%)  Persian Blue
#21d7be  rgb(33, 215, 190)  hsl(172, 73%, 49%)  Turquoise
#be21d7  rgb(190, 33, 215)  hsl(292, 73%, 49%)  Electric Purple