#F8F396

#f8f396 ≈ Pastel Yellow

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

#f8f396 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 97.25% red, 95.29% green and 58.82% blue; printed in CMYK it uses 0% cyan, 2.02% magenta, 39.52% yellow and 2.75% black. Its hue angle is 56.94°, with 87.5% saturation and 78.04% 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 18.25:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.53.

Description generated from the measured properties of this color.

Conversions of #f8f396 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.8626

Readable text 1.15:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #efefef ≈ 0.003% of males
Achromatomaly #f3f1d1 ≈ 0.001% of males
Protanopia #ffec8f ≈ 1.01% of males
Deuteranopia #fff19a ≈ 1.27% of males
Tritanopia #ffe8dc ≈ 0.0001% of males
Protanomaly #feef92 ≈ 1.08% of males
Deuteranomaly #fff298 ≈ 4.63% of males
Tritanomaly #ffecc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f8f396 {
  color: #f8f396;
}
Background
.bg-f8f396 {
  background-color: #f8f396;
  color: #000000;
}
Border
.border-f8f396 {
  border: 2px solid #f8f396;
}
CSS variables
:root {
  --color-primary: #f8f396;
  --color-primary-rgb: 248 243 150;
  --color-primary-hsl: 57 88% 78%;
}
Gradient
.gradient-f8f396 {
  background: linear-gradient(135deg, #f8f396, #ccf896);
}
Colored shadow
.shadow-f8f396 {
  box-shadow: 0 8px 24px rgb(248 243 150 / 0.35);
}

Pastel Yellow
#f8f396  rgb(248, 243, 150)  hsl(57, 88%, 78%)  Pastel Yellow
#969bf8  rgb(150, 155, 248)  hsl(237, 88%, 78%)  Cornflower Blue
#96f8f3  rgb(150, 248, 243)  hsl(177, 88%, 78%)  Celeste
#f396f8  rgb(243, 150, 248)  hsl(297, 88%, 78%)  Violet