#D7C242

#d7c242 ≈ Old Gold

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

#d7c242 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 76.08% green and 25.88% blue; printed in CMYK it uses 0% cyan, 9.77% magenta, 69.3% yellow and 15.69% black. Its hue angle is 51.54°, with 65.07% saturation and 55.1% 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.68:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.51.

Description generated from the measured properties of this color.

Conversions of #d7c242 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.5342

Readable text 1.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c1c1c1 ≈ 0.003% of males
Achromatomaly #cac19e ≈ 0.001% of males
Protanopia #d4bd2f ≈ 1.01% of males
Deuteranopia #dac54a ≈ 1.27% of males
Tritanopia #e7b4a8 ≈ 0.0001% of males
Protanomaly #d5bf38 ≈ 1.08% of males
Deuteranomaly #d9c447 ≈ 4.63% of males
Tritanomaly #e1ba8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d7c242 {
  color: #d7c242;
}
Background
.bg-d7c242 {
  background-color: #d7c242;
  color: #000000;
}
Border
.border-d7c242 {
  border: 2px solid #d7c242;
}
CSS variables
:root {
  --color-primary: #d7c242;
  --color-primary-rgb: 215 194 66;
  --color-primary-hsl: 52 65% 55%;
}
Gradient
.gradient-d7c242 {
  background: linear-gradient(135deg, #d7c242, #a2d742);
}
Colored shadow
.shadow-d7c242 {
  box-shadow: 0 8px 24px rgb(215 194 66 / 0.35);
}

Old Gold
#d7c242  rgb(215, 194, 66)  hsl(52, 65%, 55%)  Old Gold
#4257d7  rgb(66, 87, 215)  hsl(232, 65%, 55%)  Iris
#42d7c2  rgb(66, 215, 194)  hsl(172, 65%, 55%)  Turquoise
#c242d7  rgb(194, 66, 215)  hsl(292, 65%, 55%)  Medium Orchid