#DEC22D

#dec22d ≈ Old Gold

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

#dec22d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 76.08% green and 17.65% blue; printed in CMYK it uses 0% cyan, 12.61% magenta, 79.73% yellow and 12.94% black. Its hue angle is 50.51°, with 72.84% saturation and 52.35% 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.86:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.14.

Description generated from the measured properties of this color.

Conversions of #dec22d 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.543

Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c3c3c3 ≈ 0.003% of males
Achromatomaly #cec29d ≈ 0.001% of males
Protanopia #d6bd00 ≈ 1.01% of males
Deuteranopia #ddc738 ≈ 1.27% of males
Tritanopia #f0b3a7 ≈ 0.0001% of males
Protanomaly #d9bf19 ≈ 1.08% of males
Deuteranomaly #dec534 ≈ 4.63% of males
Tritanomaly #e9b987 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec22d {
  color: #dec22d;
}
Background
.bg-dec22d {
  background-color: #dec22d;
  color: #000000;
}
Border
.border-dec22d {
  border: 2px solid #dec22d;
}
CSS variables
:root {
  --color-primary: #dec22d;
  --color-primary-rgb: 222 194 45;
  --color-primary-hsl: 51 73% 52%;
}
Gradient
.gradient-dec22d {
  background: linear-gradient(135deg, #dec22d, #a1de2d);
}
Colored shadow
.shadow-dec22d {
  box-shadow: 0 8px 24px rgb(222 194 45 / 0.35);
}

Old Gold
#dec22d  rgb(222, 194, 45)  hsl(51, 73%, 52%)  Old Gold
#2d49de  rgb(45, 73, 222)  hsl(231, 73%, 52%)  Iris
#2ddec2  rgb(45, 222, 194)  hsl(171, 73%, 52%)  Turquoise
#c22dde  rgb(194, 45, 222)  hsl(291, 73%, 52%)  Electric Purple