#D2C02A

#d2c02a ≈ Old Gold

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

#d2c02a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 75.29% green and 16.47% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 80% yellow and 17.65% black. Its hue angle is 53.57°, with 66.67% saturation and 49.41% 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.31:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.08.

Description generated from the measured properties of this color.

Conversions of #d2c02a 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.5157

Readable text 1.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c6bf99 ≈ 0.001% of males
Protanopia #d3ba00 ≈ 1.01% of males
Deuteranopia #d8c136 ≈ 1.27% of males
Tritanopia #e3b2a5 ≈ 0.0001% of males
Protanomaly #d2bc14 ≈ 1.08% of males
Deuteranomaly #d5c132 ≈ 4.63% of males
Tritanomaly #dcb885 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d2c02a {
  color: #d2c02a;
}
Background
.bg-d2c02a {
  background-color: #d2c02a;
  color: #000000;
}
Border
.border-d2c02a {
  border: 2px solid #d2c02a;
}
CSS variables
:root {
  --color-primary: #d2c02a;
  --color-primary-rgb: 210 192 42;
  --color-primary-hsl: 54 67% 49%;
}
Gradient
.gradient-d2c02a {
  background: linear-gradient(135deg, #d2c02a, #90d22a);
}
Colored shadow
.shadow-d2c02a {
  box-shadow: 0 8px 24px rgb(210 192 42 / 0.35);
}

Old Gold
#d2c02a  rgb(210, 192, 42)  hsl(54, 67%, 49%)  Old Gold
#2a3cd2  rgb(42, 60, 210)  hsl(234, 67%, 49%)  Persian Blue
#2ad2c0  rgb(42, 210, 192)  hsl(174, 67%, 49%)  Turquoise
#c02ad2  rgb(192, 42, 210)  hsl(294, 67%, 49%)  Electric Purple