#ECF8A3

#ecf8a3 ≈ Pastel Yellow

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

#ecf8a3 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, 97.25% green and 63.92% blue; printed in CMYK it uses 4.84% cyan, 0% magenta, 34.27% yellow and 2.75% black. Its hue angle is 68.47°, with 85.86% saturation and 80.59% 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.52:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.57.

Description generated from the measured properties of this color.

Conversions of #ecf8a3 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.8761

Readable text 1.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f1f1f1 ≈ 0.003% of males
Achromatomaly #eff4d6 ≈ 0.001% of males
Protanopia #fff09d ≈ 1.01% of males
Deuteranopia #fff1a7 ≈ 1.27% of males
Tritanopia #f5efe2 ≈ 0.0001% of males
Protanomaly #faf39f ≈ 1.08% of males
Deuteranomaly #faf4a5 ≈ 4.63% of males
Tritanomaly #f2f3cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecf8a3 {
  color: #ecf8a3;
}
Background
.bg-ecf8a3 {
  background-color: #ecf8a3;
  color: #000000;
}
Border
.border-ecf8a3 {
  border: 2px solid #ecf8a3;
}
CSS variables
:root {
  --color-primary: #ecf8a3;
  --color-primary-rgb: 236 248 163;
  --color-primary-hsl: 68 86% 81%;
}
Gradient
.gradient-ecf8a3 {
  background: linear-gradient(135deg, #ecf8a3, #c2f8a3);
}
Colored shadow
.shadow-ecf8a3 {
  box-shadow: 0 8px 24px rgb(236 248 163 / 0.35);
}

Pastel Yellow
#ecf8a3  rgb(236, 248, 163)  hsl(68, 86%, 81%)  Pastel Yellow
#afa3f8  rgb(175, 163, 248)  hsl(248, 86%, 81%)  Wild Blue Yonder
#a3ecf8  rgb(163, 236, 248)  hsl(188, 86%, 81%)  Pale Turquoise
#f8a3ec  rgb(248, 163, 236)  hsl(308, 86%, 81%)  Plum