#F5FD97

#f5fd97 ≈ Pastel Yellow

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

#f5fd97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.08% red, 99.22% green and 59.22% blue; printed in CMYK it uses 3.16% cyan, 0% magenta, 40.32% yellow and 0.78% black. Its hue angle is 64.71°, with 96.23% saturation and 79.22% 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 19.38:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.98.

Description generated from the measured properties of this color.

Conversions of #f5fd97 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.919

Readable text 1.08:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f6f6f6 ≈ 0.003% of males
Achromatomaly #f5f9d6 ≈ 0.001% of males
Protanopia #fff48f ≈ 1.01% of males
Deuteranopia #fff79c ≈ 1.27% of males
Tritanopia #fff2e4 ≈ 0.0001% of males
Protanomaly #fff892 ≈ 1.08% of males
Deuteranomaly #fff99a ≈ 4.63% of males
Tritanomaly #fcf7ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f5fd97 {
  color: #f5fd97;
}
Background
.bg-f5fd97 {
  background-color: #f5fd97;
  color: #000000;
}
Border
.border-f5fd97 {
  border: 2px solid #f5fd97;
}
CSS variables
:root {
  --color-primary: #f5fd97;
  --color-primary-rgb: 245 253 151;
  --color-primary-hsl: 65 96% 79%;
}
Gradient
.gradient-f5fd97 {
  background: linear-gradient(135deg, #f5fd97, #c2fd97);
}
Colored shadow
.shadow-f5fd97 {
  box-shadow: 0 8px 24px rgb(245 253 151 / 0.35);
}

Pastel Yellow
#f5fd97  rgb(245, 253, 151)  hsl(65, 96%, 79%)  Pastel Yellow
#9f97fd  rgb(159, 151, 253)  hsl(245, 96%, 79%)  Wild Blue Yonder
#97f5fd  rgb(151, 245, 253)  hsl(185, 96%, 79%)  Electric Blue
#fd97f5  rgb(253, 151, 245)  hsl(305, 96%, 79%)  Violet