#FEF986

#fef986 ≈ Pastel Yellow

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

#fef986 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 97.65% green and 52.55% blue; printed in CMYK it uses 0% cyan, 1.97% magenta, 47.24% yellow and 0.39% black. Its hue angle is 57.5°, with 98.36% saturation and 76.08% 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.11:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.32.

Description generated from the measured properties of this color.

Conversions of #fef986 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.9054

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f8f6d1 ≈ 0.001% of males
Protanopia #fff17c ≈ 1.01% of males
Deuteranopia #fff78b ≈ 1.27% of males
Tritanopia #ffecde ≈ 0.0001% of males
Protanomaly #fff480 ≈ 1.08% of males
Deuteranomaly #fff889 ≈ 4.63% of males
Tritanomaly #fff1c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Pastel Yellow
#fef986  rgb(254, 249, 134)  hsl(58, 98%, 76%)  Pastel Yellow
#868bfe  rgb(134, 139, 254)  hsl(238, 98%, 76%)  Cornflower Blue
#86fef9  rgb(134, 254, 249)  hsl(178, 98%, 76%)  Electric Blue
#f986fe  rgb(249, 134, 254)  hsl(298, 98%, 76%)  Fuchsia Pink