#DFEC8A

#dfec8a ≈ Pastel Yellow

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

#dfec8a is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 92.55% green and 54.12% blue; printed in CMYK it uses 5.51% cyan, 0% magenta, 41.53% yellow and 7.45% black. Its hue angle is 67.96°, with 72.06% saturation and 73.33% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and brand accents. Black text on this color reaches a contrast ratio of 16.5:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 5.21.

Description generated from the measured properties of this color.

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

Readable text 1.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e4e4e4 ≈ 0.003% of males
Achromatomaly #e2e7c6 ≈ 0.001% of males
Protanopia #f9e382 ≈ 1.01% of males
Deuteranopia #f8e58f ≈ 1.27% of males
Tritanopia #e9e2d4 ≈ 0.0001% of males
Protanomaly #efe785 ≈ 1.08% of males
Deuteranomaly #eee88d ≈ 4.63% of males
Tritanomaly #e5e6bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dfec8a {
  color: #dfec8a;
}
Background
.bg-dfec8a {
  background-color: #dfec8a;
  color: #000000;
}
Border
.border-dfec8a {
  border: 2px solid #dfec8a;
}
CSS variables
:root {
  --color-primary: #dfec8a;
  --color-primary-rgb: 223 236 138;
  --color-primary-hsl: 68 72% 73%;
}
Gradient
.gradient-dfec8a {
  background: linear-gradient(135deg, #dfec8a, #aeec8a);
}
Colored shadow
.shadow-dfec8a {
  box-shadow: 0 8px 24px rgb(223 236 138 / 0.35);
}

Pastel Yellow
#dfec8a  rgb(223, 236, 138)  hsl(68, 72%, 73%)  Pastel Yellow
#978aec  rgb(151, 138, 236)  hsl(248, 72%, 73%)  Medium Purple
#8adfec  rgb(138, 223, 236)  hsl(188, 72%, 73%)  Non-Photo Blue
#ec8adf  rgb(236, 138, 223)  hsl(308, 72%, 73%)  Violet