#F5FA87

#f5fa87 ≈ Pastel Yellow

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

#f5fa87 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.08% red, 98.04% green and 52.94% blue; printed in CMYK it uses 2% cyan, 0% magenta, 46% yellow and 1.96% black. Its hue angle is 62.61°, with 92% saturation and 75.49% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and soft pastel palettes. Black text on this color reaches a contrast ratio of 18.91:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.09.

Description generated from the measured properties of this color.

Conversions of #f5fa87 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.8953

Readable text 1.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.91:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f3f3f3 ≈ 0.003% of males
Achromatomaly #f4f6d0 ≈ 0.001% of males
Protanopia #fff17d ≈ 1.01% of males
Deuteranopia #fff58d ≈ 1.27% of males
Tritanopia #ffeedf ≈ 0.0001% of males
Protanomaly #fff581 ≈ 1.08% of males
Deuteranomaly #fff78a ≈ 4.63% of males
Tritanomaly #fdf3c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5fa87 {
  color: #f5fa87;
}
Background
.bg-f5fa87 {
  background-color: #f5fa87;
  color: #000000;
}
Border
.border-f5fa87 {
  border: 2px solid #f5fa87;
}
CSS variables
:root {
  --color-primary: #f5fa87;
  --color-primary-rgb: 245 250 135;
  --color-primary-hsl: 63 92% 75%;
}
Gradient
.gradient-f5fa87 {
  background: linear-gradient(135deg, #f5fa87, #bbfa87);
}
Colored shadow
.shadow-f5fa87 {
  box-shadow: 0 8px 24px rgb(245 250 135 / 0.35);
}

Pastel Yellow
#f5fa87  rgb(245, 250, 135)  hsl(63, 92%, 75%)  Pastel Yellow
#8c87fa  rgb(140, 135, 250)  hsl(243, 92%, 75%)  Medium Purple
#87f5fa  rgb(135, 245, 250)  hsl(183, 92%, 75%)  Electric Blue
#fa87f5  rgb(250, 135, 245)  hsl(303, 92%, 75%)  Violet