#DEC78A

#dec78a ≈ Ecru

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#dec78a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.06% red, 78.04% green and 54.12% blue; printed in CMYK it uses 0% cyan, 10.36% magenta, 37.84% yellow and 12.94% black. Its hue angle is 43.57°, with 56% saturation and 70.59% 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 12.64:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 6.37.

Description generated from the measured properties of this color.

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

Readable text 1.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #d2c8b3 ≈ 0.001% of males
Protanopia #d4c586 ≈ 1.01% of males
Deuteranopia #dacc8c ≈ 1.27% of males
Tritanopia #ebbdb7 ≈ 0.0001% of males
Protanomaly #d8c687 ≈ 1.08% of males
Deuteranomaly #dcca8b ≈ 4.63% of males
Tritanomaly #e6c1a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ecru
#dec78a  rgb(222, 199, 138)  hsl(44, 56%, 71%)  Ecru
#8aa1de  rgb(138, 161, 222)  hsl(224, 56%, 71%)  Cornflower Blue
#8adec7  rgb(138, 222, 199)  hsl(164, 56%, 71%)  Seafoam Green
#c78ade  rgb(199, 138, 222)  hsl(284, 56%, 71%)  Floral Lavender