#DEC04F

#dec04f ≈ Old Gold

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

#dec04f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 75.29% green and 30.98% blue; printed in CMYK it uses 0% cyan, 13.51% magenta, 64.41% yellow and 12.94% black. Its hue angle is 47.41°, with 68.42% saturation and 59.02% 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.76:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.44.

Description generated from the measured properties of this color.

Conversions of #dec04f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5379

Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #cec1a1 ≈ 0.001% of males
Protanopia #d3bc42 ≈ 1.01% of males
Deuteranopia #dac655 ≈ 1.27% of males
Tritanopia #efb2a8 ≈ 0.0001% of males
Protanomaly #d7be47 ≈ 1.08% of males
Deuteranomaly #dcc352 ≈ 4.63% of males
Tritanomaly #e8b88d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec04f {
  color: #dec04f;
}
Background
.bg-dec04f {
  background-color: #dec04f;
  color: #000000;
}
Border
.border-dec04f {
  border: 2px solid #dec04f;
}
CSS variables
:root {
  --color-primary: #dec04f;
  --color-primary-rgb: 222 192 79;
  --color-primary-hsl: 47 68% 59%;
}
Gradient
.gradient-dec04f {
  background: linear-gradient(135deg, #dec04f, #b5de4f);
}
Colored shadow
.shadow-dec04f {
  box-shadow: 0 8px 24px rgb(222 192 79 / 0.35);
}

Old Gold
#dec04f  rgb(222, 192, 79)  hsl(47, 68%, 59%)  Old Gold
#4f6dde  rgb(79, 109, 222)  hsl(227, 68%, 59%)  Royal Blue
#4fdec0  rgb(79, 222, 192)  hsl(167, 68%, 59%)  Turquoise
#c04fde  rgb(192, 79, 222)  hsl(287, 68%, 59%)  Medium Orchid