#D5C12F

#d5c12f ≈ Old Gold

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

#d5c12f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 75.69% green and 18.43% blue; printed in CMYK it uses 0% cyan, 9.39% magenta, 77.93% yellow and 16.47% black. Its hue angle is 52.77°, with 66.4% saturation and 50.98% 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.5:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.91.

Description generated from the measured properties of this color.

Conversions of #d5c12f 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.5249

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

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #c9c09b ≈ 0.001% of males
Protanopia #d4bb05 ≈ 1.01% of males
Deuteranopia #d9c33a ≈ 1.27% of males
Tritanopia #e6b3a6 ≈ 0.0001% of males
Protanomaly #d4be1d ≈ 1.08% of males
Deuteranomaly #d8c236 ≈ 4.63% of males
Tritanomaly #dfb986 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d5c12f {
  color: #d5c12f;
}
Background
.bg-d5c12f {
  background-color: #d5c12f;
  color: #000000;
}
Border
.border-d5c12f {
  border: 2px solid #d5c12f;
}
CSS variables
:root {
  --color-primary: #d5c12f;
  --color-primary-rgb: 213 193 47;
  --color-primary-hsl: 53 66% 51%;
}
Gradient
.gradient-d5c12f {
  background: linear-gradient(135deg, #d5c12f, #96d52f);
}
Colored shadow
.shadow-d5c12f {
  box-shadow: 0 8px 24px rgb(213 193 47 / 0.35);
}

Old Gold
#d5c12f  rgb(213, 193, 47)  hsl(53, 66%, 51%)  Old Gold
#2f43d5  rgb(47, 67, 213)  hsl(233, 66%, 51%)  Persian Blue
#2fd5c1  rgb(47, 213, 193)  hsl(173, 66%, 51%)  Turquoise
#c12fd5  rgb(193, 47, 213)  hsl(293, 66%, 51%)  Medium Orchid