#ECFB7C

#ecfb7c ≈ Pastel Yellow

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

#ecfb7c 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.43% green and 48.63% blue; printed in CMYK it uses 5.98% cyan, 0% magenta, 50.6% yellow and 1.57% black. Its hue angle is 67.09°, with 94.07% 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.66:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.34.

Description generated from the measured properties of this color.

Conversions of #ecfb7c 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.8828

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

Achromatopsia #f1f1f1 ≈ 0.003% of males
Achromatomaly #eff5cd ≈ 0.001% of males
Protanopia #fff070 ≈ 1.01% of males
Deuteranopia #fff383 ≈ 1.27% of males
Tritanopia #f9efde ≈ 0.0001% of males
Protanomaly #fff575 ≈ 1.08% of males
Deuteranomaly #fef680 ≈ 4.63% of males
Tritanomaly #f4f4bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecfb7c {
  color: #ecfb7c;
}
Background
.bg-ecfb7c {
  background-color: #ecfb7c;
  color: #000000;
}
Border
.border-ecfb7c {
  border: 2px solid #ecfb7c;
}
CSS variables
:root {
  --color-primary: #ecfb7c;
  --color-primary-rgb: 236 251 124;
  --color-primary-hsl: 67 94% 74%;
}
Gradient
.gradient-ecfb7c {
  background: linear-gradient(135deg, #ecfb7c, #acfb7c);
}
Colored shadow
.shadow-ecfb7c {
  box-shadow: 0 8px 24px rgb(236 251 124 / 0.35);
}

Pastel Yellow
#ecfb7c  rgb(236, 251, 124)  hsl(67, 94%, 74%)  Pastel Yellow
#8b7cfb  rgb(139, 124, 251)  hsl(247, 94%, 74%)  Medium Slate Blue
#7cecfb  rgb(124, 236, 251)  hsl(187, 94%, 74%)  Electric Blue
#fb7cec  rgb(251, 124, 236)  hsl(307, 94%, 74%)  Violet