#D9C021

#d9c021 ≈ Old Gold

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

#d9c021 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 12.94% blue; printed in CMYK it uses 0% cyan, 11.52% magenta, 84.79% yellow and 14.9% black. Its hue angle is 51.85°, with 73.6% saturation and 49.02% 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.51:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.04.

Description generated from the measured properties of this color.

Conversions of #d9c021 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.5256

Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.51: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 #dbc430 ≈ 1.27% of males
Tritanopia #ebb1a4 ≈ 0.0001% of males
Protanomaly #d6bd00 ≈ 1.08% of males
Deuteranomaly #dac22a ≈ 4.63% of males
Tritanomaly #e4b784 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d9c021 {
  color: #d9c021;
}
Background
.bg-d9c021 {
  background-color: #d9c021;
  color: #000000;
}
Border
.border-d9c021 {
  border: 2px solid #d9c021;
}
CSS variables
:root {
  --color-primary: #d9c021;
  --color-primary-rgb: 217 192 33;
  --color-primary-hsl: 52 74% 49%;
}
Gradient
.gradient-d9c021 {
  background: linear-gradient(135deg, #d9c021, #96d921);
}
Colored shadow
.shadow-d9c021 {
  box-shadow: 0 8px 24px rgb(217 192 33 / 0.35);
}

Old Gold
#d9c021  rgb(217, 192, 33)  hsl(52, 74%, 49%)  Old Gold
#213ad9  rgb(33, 58, 217)  hsl(232, 74%, 49%)  Persian Blue
#21d9c0  rgb(33, 217, 192)  hsl(172, 74%, 49%)  Turquoise
#c021d9  rgb(192, 33, 217)  hsl(292, 74%, 49%)  Electric Purple