#FDF997

#fdf997 ≈ Pastel Yellow

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

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

Description generated from the measured properties of this color.

Conversions of #fdf997 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.9087

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f8f6d6 ≈ 0.001% of males
Protanopia #fff28f ≈ 1.01% of males
Deuteranopia #fff79b ≈ 1.27% of males
Tritanopia #ffede1 ≈ 0.0001% of males
Protanomaly #fff592 ≈ 1.08% of males
Deuteranomaly #fff89a ≈ 4.63% of males
Tritanomaly #fff2c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fdf997  rgb(253, 249, 151)  hsl(58, 96%, 79%)  Pastel Yellow
#979bfd  rgb(151, 155, 253)  hsl(238, 96%, 79%)  Cornflower Blue
#97fdf9  rgb(151, 253, 249)  hsl(178, 96%, 79%)  Celeste
#f997fd  rgb(249, 151, 253)  hsl(298, 96%, 79%)  Violet