#D7C021

#d7c021 ≈ Old Gold

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

#d7c021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 10.7% magenta, 84.65% yellow and 15.69% black. Its hue angle is 52.42°, with 73.39% saturation and 48.63% 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.45:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.07.

Description generated from the measured properties of this color.

Conversions of #d7c021 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.5226

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c9c099 ≈ 0.001% of males
Protanopia #d4ba00 ≈ 1.01% of males
Deuteranopia #dac330 ≈ 1.27% of males
Tritanopia #e8b1a4 ≈ 0.0001% of males
Protanomaly #d5bd00 ≈ 1.08% of males
Deuteranomaly #d9c22b ≈ 4.63% of males
Tritanomaly #e2b784 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#d7c021  rgb(215, 192, 33)  hsl(52, 73%, 49%)  Old Gold
#2138d7  rgb(33, 56, 215)  hsl(232, 73%, 49%)  Persian Blue
#21d7c0  rgb(33, 215, 192)  hsl(172, 73%, 49%)  Turquoise
#c021d7  rgb(192, 33, 215)  hsl(292, 73%, 49%)  Electric Purple