#D9C028

#d9c028 ≈ Old Gold

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

#d9c028 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.1% red, 75.29% green and 15.69% blue; printed in CMYK it uses 0% cyan, 11.52% magenta, 81.57% yellow and 14.9% black. Its hue angle is 51.53°, with 69.96% saturation and 50.39% 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.52:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.76.

Description generated from the measured properties of this color.

Conversions of #d9c028 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.526

Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #cac09a ≈ 0.001% of males
Protanopia #d4bb00 ≈ 1.01% of males
Deuteranopia #dac435 ≈ 1.27% of males
Tritanopia #ebb1a5 ≈ 0.0001% of males
Protanomaly #d6bd10 ≈ 1.08% of males
Deuteranomaly #dac230 ≈ 4.63% of males
Tritanomaly #e4b785 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d9c028 {
  color: #d9c028;
}
Background
.bg-d9c028 {
  background-color: #d9c028;
  color: #000000;
}
Border
.border-d9c028 {
  border: 2px solid #d9c028;
}
CSS variables
:root {
  --color-primary: #d9c028;
  --color-primary-rgb: 217 192 40;
  --color-primary-hsl: 52 70% 50%;
}
Gradient
.gradient-d9c028 {
  background: linear-gradient(135deg, #d9c028, #99d928);
}
Colored shadow
.shadow-d9c028 {
  box-shadow: 0 8px 24px rgb(217 192 40 / 0.35);
}

Old Gold
#d9c028  rgb(217, 192, 40)  hsl(52, 70%, 50%)  Old Gold
#2841d9  rgb(40, 65, 217)  hsl(232, 70%, 50%)  Persian Blue
#28d9c0  rgb(40, 217, 192)  hsl(172, 70%, 50%)  Turquoise
#c028d9  rgb(192, 40, 217)  hsl(292, 70%, 50%)  Electric Purple