#FAFA87

#fafa87 ≈ Pastel Yellow

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

#fafa87 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.04% red, 98.04% green and 52.94% blue; printed in CMYK it uses 0% cyan, 0% magenta, 46% yellow and 1.96% black. Its hue angle is 60°, with 92% saturation and 75.49% 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.09:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 1.82.

Description generated from the measured properties of this color.

Conversions of #fafa87 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.9044

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

Achromatopsia #f4f4f4 ≈ 0.003% of males
Achromatomaly #f6f6d1 ≈ 0.001% of males
Protanopia #fff27d ≈ 1.01% of males
Deuteranopia #fff68d ≈ 1.27% of males
Tritanopia #ffeddf ≈ 0.0001% of males
Protanomaly #fff581 ≈ 1.08% of males
Deuteranomaly #fff88a ≈ 4.63% of males
Tritanomaly #fff3c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fafa87 {
  color: #fafa87;
}
Background
.bg-fafa87 {
  background-color: #fafa87;
  color: #000000;
}
Border
.border-fafa87 {
  border: 2px solid #fafa87;
}
CSS variables
:root {
  --color-primary: #fafa87;
  --color-primary-rgb: 250 250 135;
  --color-primary-hsl: 60 92% 75%;
}
Gradient
.gradient-fafa87 {
  background: linear-gradient(135deg, #fafa87, #c0fa87);
}
Colored shadow
.shadow-fafa87 {
  box-shadow: 0 8px 24px rgb(250 250 135 / 0.35);
}

Pastel Yellow
#fafa87  rgb(250, 250, 135)  hsl(60, 92%, 75%)  Pastel Yellow
#8787fa  rgb(135, 135, 250)  hsl(240, 92%, 75%)  Medium Purple
#87fafa  rgb(135, 250, 250)  hsl(180, 92%, 75%)  Electric Blue
#fa87fa  rgb(250, 135, 250)  hsl(300, 92%, 75%)  Violet