#FBF87F

#fbf87f ≈ Pastel Yellow

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

#fbf87f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.43% red, 97.25% green and 49.8% blue; printed in CMYK it uses 0% cyan, 1.2% magenta, 49.4% yellow and 1.57% black. Its hue angle is 58.55°, with 93.94% saturation and 74.12% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 18.84:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.85.

Description generated from the measured properties of this color.

Conversions of #fbf87f into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffff66
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.8918

Readable text 1.11:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f2f2f2 ≈ 0.003% of males
Achromatomaly #f6f5ce ≈ 0.001% of males
Protanopia #fff074 ≈ 1.01% of males
Deuteranopia #fff585 ≈ 1.27% of males
Tritanopia #ffebdc ≈ 0.0001% of males
Protanomaly #fff378 ≈ 1.08% of males
Deuteranomaly #fff683 ≈ 4.63% of males
Tritanomaly #fff0be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fbf87f {
  color: #fbf87f;
}
Background
.bg-fbf87f {
  background-color: #fbf87f;
  color: #000000;
}
Border
.border-fbf87f {
  border: 2px solid #fbf87f;
}
CSS variables
:root {
  --color-primary: #fbf87f;
  --color-primary-rgb: 251 248 127;
  --color-primary-hsl: 59 94% 74%;
}
Gradient
.gradient-fbf87f {
  background: linear-gradient(135deg, #fbf87f, #c0fb7f);
}
Colored shadow
.shadow-fbf87f {
  box-shadow: 0 8px 24px rgb(251 248 127 / 0.35);
}

Pastel Yellow
#fbf87f  rgb(251, 248, 127)  hsl(59, 94%, 74%)  Pastel Yellow
#7f82fb  rgb(127, 130, 251)  hsl(239, 94%, 74%)  Medium Slate Blue
#7ffbf8  rgb(127, 251, 248)  hsl(179, 94%, 74%)  Electric Blue
#f87ffb  rgb(248, 127, 251)  hsl(299, 94%, 74%)  Fuchsia Pink