#F7FA97

#f7fa97 ≈ Pastel Yellow

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

#f7fa97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 96.86% red, 98.04% green and 59.22% blue; printed in CMYK it uses 1.2% cyan, 0% magenta, 39.6% yellow and 1.96% black. Its hue angle is 61.82°, with 90.83% saturation and 78.63% 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.08:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.21.

Description generated from the measured properties of this color.

Conversions of #f7fa97 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.9038

Readable text 1.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 19.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f5f6d5 ≈ 0.001% of males
Protanopia #fff28f ≈ 1.01% of males
Deuteranopia #fff69b ≈ 1.27% of males
Tritanopia #ffefe2 ≈ 0.0001% of males
Protanomaly #fff592 ≈ 1.08% of males
Deuteranomaly #fff79a ≈ 4.63% of males
Tritanomaly #fef3c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f7fa97 {
  color: #f7fa97;
}
Background
.bg-f7fa97 {
  background-color: #f7fa97;
  color: #000000;
}
Border
.border-f7fa97 {
  border: 2px solid #f7fa97;
}
CSS variables
:root {
  --color-primary: #f7fa97;
  --color-primary-rgb: 247 250 151;
  --color-primary-hsl: 62 91% 79%;
}
Gradient
.gradient-f7fa97 {
  background: linear-gradient(135deg, #f7fa97, #c6fa97);
}
Colored shadow
.shadow-f7fa97 {
  box-shadow: 0 8px 24px rgb(247 250 151 / 0.35);
}

Pastel Yellow
#f7fa97  rgb(247, 250, 151)  hsl(62, 91%, 79%)  Pastel Yellow
#9a97fa  rgb(154, 151, 250)  hsl(242, 91%, 79%)  Wild Blue Yonder
#97f7fa  rgb(151, 247, 250)  hsl(182, 91%, 79%)  Electric Blue
#fa97f7  rgb(250, 151, 247)  hsl(302, 91%, 79%)  Violet