#F0FF7E

#f0ff7e ≈ Pastel Yellow

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

#f0ff7e is a color from the yellow-green family, with high lightness and strong saturation. In the RGB model it is made of 94.12% red, 100% green and 49.41% blue; printed in CMYK it uses 5.88% cyan, 0% magenta, 50.59% yellow and 0% black. Its hue angle is 66.98°, with 100% saturation and 74.71% 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 19.31:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.31.

Description generated from the measured properties of this color.

Conversions of #f0ff7e 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.9155

Readable text 1.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.31:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f5f5f5 ≈ 0.003% of males
Achromatomaly #f3f9d0 ≈ 0.001% of males
Protanopia #fff472 ≈ 1.01% of males
Deuteranopia #fff785 ≈ 1.27% of males
Tritanopia #fdf3e2 ≈ 0.0001% of males
Protanomaly #fff977 ≈ 1.08% of males
Deuteranomaly #fffa82 ≈ 4.63% of males
Tritanomaly #f8f8c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f0ff7e {
  color: #f0ff7e;
}
Background
.bg-f0ff7e {
  background-color: #f0ff7e;
  color: #000000;
}
Border
.border-f0ff7e {
  border: 2px solid #f0ff7e;
}
CSS variables
:root {
  --color-primary: #f0ff7e;
  --color-primary-rgb: 240 255 126;
  --color-primary-hsl: 67 100% 75%;
}
Gradient
.gradient-f0ff7e {
  background: linear-gradient(135deg, #f0ff7e, #b0ff7e);
}
Colored shadow
.shadow-f0ff7e {
  box-shadow: 0 8px 24px rgb(240 255 126 / 0.35);
}

Pastel Yellow
#f0ff7e  rgb(240, 255, 126)  hsl(67, 100%, 75%)  Pastel Yellow
#8d7eff  rgb(141, 126, 255)  hsl(247, 100%, 75%)  Medium Purple
#7ef0ff  rgb(126, 240, 255)  hsl(187, 100%, 75%)  Electric Blue
#ff7ef0  rgb(255, 126, 240)  hsl(307, 100%, 75%)  Violet