#ECF87F

#ecf87f ≈ Pastel Yellow

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

#ecf87f 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 49.8% blue; printed in CMYK it uses 4.84% cyan, 0% magenta, 48.79% yellow and 2.75% black. Its hue angle is 65.95°, with 89.63% saturation and 73.53% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 18.3:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.72.

Description generated from the measured properties of this color.

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

Readable text 1.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #efefef ≈ 0.003% of males
Achromatomaly #eef3cc ≈ 0.001% of males
Protanopia #ffee74 ≈ 1.01% of males
Deuteranopia #fff185 ≈ 1.27% of males
Tritanopia #f9ecdc ≈ 0.0001% of males
Protanomaly #fdf279 ≈ 1.08% of males
Deuteranomaly #fcf483 ≈ 4.63% of males
Tritanomaly #f4f1be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecf87f {
  color: #ecf87f;
}
Background
.bg-ecf87f {
  background-color: #ecf87f;
  color: #000000;
}
Border
.border-ecf87f {
  border: 2px solid #ecf87f;
}
CSS variables
:root {
  --color-primary: #ecf87f;
  --color-primary-rgb: 236 248 127;
  --color-primary-hsl: 66 90% 74%;
}
Gradient
.gradient-ecf87f {
  background: linear-gradient(135deg, #ecf87f, #b0f87f);
}
Colored shadow
.shadow-ecf87f {
  box-shadow: 0 8px 24px rgb(236 248 127 / 0.35);
}

Pastel Yellow
#ecf87f  rgb(236, 248, 127)  hsl(66, 90%, 74%)  Pastel Yellow
#8b7ff8  rgb(139, 127, 248)  hsl(246, 90%, 74%)  Medium Purple
#7fecf8  rgb(127, 236, 248)  hsl(186, 90%, 74%)  Electric Blue
#f87fec  rgb(248, 127, 236)  hsl(306, 90%, 74%)  Violet