#ECF8A7

#ecf8a7 ≈ Pastel Yellow

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

#ecf8a7 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 65.49% blue; printed in CMYK it uses 4.84% cyan, 0% magenta, 32.66% yellow and 2.75% black. Its hue angle is 68.89°, with 85.26% saturation and 81.37% 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.55:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 5.08.

Description generated from the measured properties of this color.

Conversions of #ecf8a7 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.8776

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

Achromatopsia #f1f1f1 ≈ 0.003% of males
Achromatomaly #eff4d7 ≈ 0.001% of males
Protanopia #fff0a1 ≈ 1.01% of males
Deuteranopia #fff2ab ≈ 1.27% of males
Tritanopia #f5efe3 ≈ 0.0001% of males
Protanomaly #faf3a4 ≈ 1.08% of males
Deuteranomaly #faf4a9 ≈ 4.63% of males
Tritanomaly #f1f3ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#ecf8a7  rgb(236, 248, 167)  hsl(69, 85%, 81%)  Pastel Yellow
#b3a7f8  rgb(179, 167, 248)  hsl(249, 85%, 81%)  Wild Blue Yonder
#a7ecf8  rgb(167, 236, 248)  hsl(189, 85%, 81%)  Non-Photo Blue
#f8a7ec  rgb(248, 167, 236)  hsl(309, 85%, 81%)  Plum