#FFF897

#fff897 ≈ Pastel Yellow

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

#fff897 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 97.25% green and 59.22% blue; printed in CMYK it uses 0% cyan, 2.75% magenta, 40.78% yellow and 0% black. Its hue angle is 55.96°, with 100% saturation and 79.61% 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.13:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.01.

Description generated from the measured properties of this color.

Conversions of #fff897 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.9063

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f9f6d5 ≈ 0.001% of males
Protanopia #fff18f ≈ 1.01% of males
Deuteranopia #fff79b ≈ 1.27% of males
Tritanopia #ffece0 ≈ 0.0001% of males
Protanomaly #fff493 ≈ 1.08% of males
Deuteranomaly #fff799 ≈ 4.63% of males
Tritanomaly #fff1c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fff897 {
  color: #fff897;
}
Background
.bg-fff897 {
  background-color: #fff897;
  color: #000000;
}
Border
.border-fff897 {
  border: 2px solid #fff897;
}
CSS variables
:root {
  --color-primary: #fff897;
  --color-primary-rgb: 255 248 151;
  --color-primary-hsl: 56 100% 80%;
}
Gradient
.gradient-fff897 {
  background: linear-gradient(135deg, #fff897, #d2ff97);
}
Colored shadow
.shadow-fff897 {
  box-shadow: 0 8px 24px rgb(255 248 151 / 0.35);
}

Pastel Yellow
#fff897  rgb(255, 248, 151)  hsl(56, 100%, 80%)  Pastel Yellow
#979eff  rgb(151, 158, 255)  hsl(236, 100%, 80%)  Cornflower Blue
#97fff8  rgb(151, 255, 248)  hsl(176, 100%, 80%)  Celeste
#f897ff  rgb(248, 151, 255)  hsl(296, 100%, 80%)  Violet