#D8BB2C

#d8bb2c ≈ Old Gold

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

#d8bb2c 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 17.25% blue; printed in CMYK it uses 0% cyan, 13.43% magenta, 79.63% yellow and 15.29% black. Its hue angle is 49.88°, with 68.8% saturation and 50.98% 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.57.

Description generated from the measured properties of this color.

Conversions of #d8bb2c 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.5032

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 #c8bc98 ≈ 0.001% of males
Protanopia #cfb700 ≈ 1.01% of males
Deuteranopia #d6c037 ≈ 1.27% of males
Tritanopia #eaaca1 ≈ 0.0001% of males
Protanomaly #d3b81a ≈ 1.08% of males
Deuteranomaly #d7be33 ≈ 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-d8bb2c {
  color: #d8bb2c;
}
Background
.bg-d8bb2c {
  background-color: #d8bb2c;
  color: #000000;
}
Border
.border-d8bb2c {
  border: 2px solid #d8bb2c;
}
CSS variables
:root {
  --color-primary: #d8bb2c;
  --color-primary-rgb: 216 187 44;
  --color-primary-hsl: 50 69% 51%;
}
Gradient
.gradient-d8bb2c {
  background: linear-gradient(135deg, #d8bb2c, #9fd82c);
}
Colored shadow
.shadow-d8bb2c {
  box-shadow: 0 8px 24px rgb(216 187 44 / 0.35);
}

Old Gold
#d8bb2c  rgb(216, 187, 44)  hsl(50, 69%, 51%)  Old Gold
#2c49d8  rgb(44, 73, 216)  hsl(230, 69%, 51%)  Iris
#2cd8bb  rgb(44, 216, 187)  hsl(170, 69%, 51%)  Turquoise
#bb2cd8  rgb(187, 44, 216)  hsl(290, 69%, 51%)  Electric Purple