#D0C12E

#d0c12e ≈ Old Gold

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

#d0c12e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 75.69% green and 18.04% blue; printed in CMYK it uses 0% cyan, 7.21% magenta, 77.88% yellow and 18.43% black. Its hue angle is 54.44°, with 63.78% saturation and 49.8% 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.35:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #d0c12e 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.5175

Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c6bf9a ≈ 0.001% of males
Protanopia #d3bb02 ≈ 1.01% of males
Deuteranopia #d8c23a ≈ 1.27% of males
Tritanopia #e0b3a6 ≈ 0.0001% of males
Protanomaly #d2bd1c ≈ 1.08% of males
Deuteranomaly #d5c135 ≈ 4.63% of males
Tritanomaly #dab986 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d0c12e {
  color: #d0c12e;
}
Background
.bg-d0c12e {
  background-color: #d0c12e;
  color: #000000;
}
Border
.border-d0c12e {
  border: 2px solid #d0c12e;
}
CSS variables
:root {
  --color-primary: #d0c12e;
  --color-primary-rgb: 208 193 46;
  --color-primary-hsl: 54 64% 50%;
}
Gradient
.gradient-d0c12e {
  background: linear-gradient(135deg, #d0c12e, #8ed02e);
}
Colored shadow
.shadow-d0c12e {
  box-shadow: 0 8px 24px rgb(208 193 46 / 0.35);
}

Old Gold
#d0c12e  rgb(208, 193, 46)  hsl(54, 64%, 50%)  Old Gold
#2e3dd0  rgb(46, 61, 208)  hsl(234, 64%, 50%)  Persian Blue
#2ed0c1  rgb(46, 208, 193)  hsl(174, 64%, 50%)  Medium Turquoise
#c12ed0  rgb(193, 46, 208)  hsl(294, 64%, 50%)  Medium Orchid