#D8BE21

#d8be21 ≈ Old Gold

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

#d8be21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 74.51% green and 12.94% blue; printed in CMYK it uses 0% cyan, 12.04% magenta, 84.72% yellow and 15.29% black. Its hue angle is 51.48°, with 73.49% 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 11.31: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 #d8be21 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.5154

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

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c9be98 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d9c22f ≈ 1.27% of males
Tritanopia #eaafa3 ≈ 0.0001% of males
Protanomaly #d4bb00 ≈ 1.08% of males
Deuteranomaly #d8c02a ≈ 4.63% of males
Tritanomaly #e3b582 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#d8be21  rgb(216, 190, 33)  hsl(51, 73%, 49%)  Old Gold
#213bd8  rgb(33, 59, 216)  hsl(231, 73%, 49%)  Persian Blue
#21d8be  rgb(33, 216, 190)  hsl(171, 73%, 49%)  Turquoise
#be21d8  rgb(190, 33, 216)  hsl(291, 73%, 49%)  Electric Purple