#ECFC8A

#ecfc8a ≈ Pastel Yellow

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

#ecfc8a is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 98.82% green and 54.12% blue; printed in CMYK it uses 6.35% cyan, 0% magenta, 45.24% yellow and 1.18% black. Its hue angle is 68.42°, with 95% saturation and 76.47% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 18.86:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.83.

Description generated from the measured properties of this color.

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

Readable text 1.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f3f3f3 ≈ 0.003% of males
Achromatomaly #f0f6d1 ≈ 0.001% of males
Protanopia #fff280 ≈ 1.01% of males
Deuteranopia #fff490 ≈ 1.27% of males
Tritanopia #f7f1e1 ≈ 0.0001% of males
Protanomaly #fff684 ≈ 1.08% of males
Deuteranomaly #fef78e ≈ 4.63% of males
Tritanomaly #f3f5c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#ecfc8a  rgb(236, 252, 138)  hsl(68, 95%, 76%)  Pastel Yellow
#9a8afc  rgb(154, 138, 252)  hsl(248, 95%, 76%)  Medium Purple
#8aecfc  rgb(138, 236, 252)  hsl(188, 95%, 76%)  Electric Blue
#fc8aec  rgb(252, 138, 236)  hsl(308, 95%, 76%)  Violet