#F5FFAF

#f5ffaf ≈ Pastel Yellow

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

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

Description generated from the measured properties of this color.

Conversions of #f5ffaf 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.9403

Readable text 1.06:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f8f8f8 ≈ 0.003% of males
Achromatomaly #f7fbdf ≈ 0.001% of males
Protanopia #fff7a9 ≈ 1.01% of males
Deuteranopia #fff9b2 ≈ 1.27% of males
Tritanopia #fef6ea ≈ 0.0001% of males
Protanomaly #fffaac ≈ 1.08% of males
Deuteranomaly #fffcb1 ≈ 4.63% of males
Tritanomaly #fbfad5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#f5ffaf  rgb(245, 255, 175)  hsl(68, 100%, 84%)  Pastel Yellow
#b9afff  rgb(185, 175, 255)  hsl(248, 100%, 84%)  Periwinkle
#aff5ff  rgb(175, 245, 255)  hsl(188, 100%, 84%)  Pale Turquoise
#ffaff5  rgb(255, 175, 245)  hsl(308, 100%, 84%)  Plum