#D8BB2A

#d8bb2a ≈ Old Gold

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

#d8bb2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 73.33% green and 16.47% blue; printed in CMYK it uses 0% cyan, 13.43% magenta, 80.56% yellow and 15.29% black. Its hue angle is 50°, with 69.05% saturation and 50.59% 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.06:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.67.

Description generated from the measured properties of this color.

Conversions of #d8bb2a 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.5031

Readable text 1.9:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bcbcbc ≈ 0.003% of males
Achromatomaly #c8bc97 ≈ 0.001% of males
Protanopia #cfb700 ≈ 1.01% of males
Deuteranopia #d6c035 ≈ 1.27% of males
Tritanopia #eaaca0 ≈ 0.0001% of males
Protanomaly #d3b816 ≈ 1.08% of males
Deuteranomaly #d7be31 ≈ 4.63% of males
Tritanomaly #e3b282 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d8bb2a {
  color: #d8bb2a;
}
Background
.bg-d8bb2a {
  background-color: #d8bb2a;
  color: #000000;
}
Border
.border-d8bb2a {
  border: 2px solid #d8bb2a;
}
CSS variables
:root {
  --color-primary: #d8bb2a;
  --color-primary-rgb: 216 187 42;
  --color-primary-hsl: 50 69% 51%;
}
Gradient
.gradient-d8bb2a {
  background: linear-gradient(135deg, #d8bb2a, #9ed82a);
}
Colored shadow
.shadow-d8bb2a {
  box-shadow: 0 8px 24px rgb(216 187 42 / 0.35);
}

Old Gold
#d8bb2a  rgb(216, 187, 42)  hsl(50, 69%, 51%)  Old Gold
#2a47d8  rgb(42, 71, 216)  hsl(230, 69%, 51%)  Iris
#2ad8bb  rgb(42, 216, 187)  hsl(170, 69%, 51%)  Turquoise
#bb2ad8  rgb(187, 42, 216)  hsl(290, 69%, 51%)  Electric Purple