#FEFB97

#fefb97 ≈ Pastel Yellow

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

#fefb97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 98.43% green and 59.22% blue; printed in CMYK it uses 0% cyan, 1.18% magenta, 40.55% yellow and 0.39% black. Its hue angle is 58.25°, with 98.1% saturation and 79.41% 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.46:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 0.85.

Description generated from the measured properties of this color.

Conversions of #fefb97 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.923

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

Achromatopsia #f6f6f6 ≈ 0.003% of males
Achromatomaly #f9f8d7 ≈ 0.001% of males
Protanopia #fff48f ≈ 1.01% of males
Deuteranopia #fff89b ≈ 1.27% of males
Tritanopia #ffefe3 ≈ 0.0001% of males
Protanomaly #fff792 ≈ 1.08% of males
Deuteranomaly #fff99a ≈ 4.63% of males
Tritanomaly #fff4c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fefb97 {
  color: #fefb97;
}
Background
.bg-fefb97 {
  background-color: #fefb97;
  color: #000000;
}
Border
.border-fefb97 {
  border: 2px solid #fefb97;
}
CSS variables
:root {
  --color-primary: #fefb97;
  --color-primary-rgb: 254 251 151;
  --color-primary-hsl: 58 98% 79%;
}
Gradient
.gradient-fefb97 {
  background: linear-gradient(135deg, #fefb97, #cefe97);
}
Colored shadow
.shadow-fefb97 {
  box-shadow: 0 8px 24px rgb(254 251 151 / 0.35);
}

Pastel Yellow
#fefb97  rgb(254, 251, 151)  hsl(58, 98%, 79%)  Pastel Yellow
#979afe  rgb(151, 154, 254)  hsl(238, 98%, 79%)  Cornflower Blue
#97fefb  rgb(151, 254, 251)  hsl(178, 98%, 79%)  Celeste
#fb97fe  rgb(251, 151, 254)  hsl(298, 98%, 79%)  Violet