#DEC040

#dec040 ≈ Old Gold

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

#dec040 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 25.1% blue; printed in CMYK it uses 0% cyan, 13.51% magenta, 71.17% yellow and 12.94% black. Its hue angle is 48.61°, with 70.54% saturation and 56.08% 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.72:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #dec040 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.536

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

Achromatopsia #c1c1c1 ≈ 0.003% of males
Achromatomaly #cdc19e ≈ 0.001% of males
Protanopia #d4bc2d ≈ 1.01% of males
Deuteranopia #dbc547 ≈ 1.27% of males
Tritanopia #f0b1a6 ≈ 0.0001% of males
Protanomaly #d8be35 ≈ 1.08% of males
Deuteranomaly #dcc345 ≈ 4.63% of males
Tritanomaly #e9b789 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dec040 {
  color: #dec040;
}
Background
.bg-dec040 {
  background-color: #dec040;
  color: #000000;
}
Border
.border-dec040 {
  border: 2px solid #dec040;
}
CSS variables
:root {
  --color-primary: #dec040;
  --color-primary-rgb: 222 192 64;
  --color-primary-hsl: 49 71% 56%;
}
Gradient
.gradient-dec040 {
  background: linear-gradient(135deg, #dec040, #adde40);
}
Colored shadow
.shadow-dec040 {
  box-shadow: 0 8px 24px rgb(222 192 64 / 0.35);
}

Old Gold
#dec040  rgb(222, 192, 64)  hsl(49, 71%, 56%)  Old Gold
#405ede  rgb(64, 94, 222)  hsl(229, 71%, 56%)  Royal Blue
#40dec0  rgb(64, 222, 192)  hsl(169, 71%, 56%)  Turquoise
#c040de  rgb(192, 64, 222)  hsl(289, 71%, 56%)  Medium Orchid