#F2FFAF

#f2ffaf ≈ Pastel Yellow

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

#f2ffaf is a color from the yellow-green family, with very high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 100% green and 68.63% blue; printed in CMYK it uses 5.1% cyan, 0% magenta, 31.37% yellow and 0% black. Its hue angle is 69.75°, with 100% saturation and 84.31% 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 19.7:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #f2ffaf 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.9349

Readable text 1.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f8f8f8 ≈ 0.003% of males
Achromatomaly #f5fbde ≈ 0.001% of males
Protanopia #fff7aa ≈ 1.01% of males
Deuteranopia #fff8b2 ≈ 1.27% of males
Tritanopia #fbf6ea ≈ 0.0001% of males
Protanomaly #fffaac ≈ 1.08% of males
Deuteranomaly #fffbb1 ≈ 4.63% of males
Tritanomaly #f7fad5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2ffaf {
  color: #f2ffaf;
}
Background
.bg-f2ffaf {
  background-color: #f2ffaf;
  color: #000000;
}
Border
.border-f2ffaf {
  border: 2px solid #f2ffaf;
}
CSS variables
:root {
  --color-primary: #f2ffaf;
  --color-primary-rgb: 242 255 175;
  --color-primary-hsl: 70 100% 84%;
}
Gradient
.gradient-f2ffaf {
  background: linear-gradient(135deg, #f2ffaf, #caffaf);
}
Colored shadow
.shadow-f2ffaf {
  box-shadow: 0 8px 24px rgb(242 255 175 / 0.35);
}

Pastel Yellow
#f2ffaf  rgb(242, 255, 175)  hsl(70, 100%, 84%)  Pastel Yellow
#bcafff  rgb(188, 175, 255)  hsl(250, 100%, 84%)  Periwinkle
#aff2ff  rgb(175, 242, 255)  hsl(190, 100%, 84%)  Non-Photo Blue
#ffaff2  rgb(255, 175, 242)  hsl(310, 100%, 84%)  Plum