#F2F587

#f2f587 ≈ Pastel Yellow

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

#f2f587 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 96.08% green and 52.94% blue; printed in CMYK it uses 1.22% cyan, 0% magenta, 44.9% yellow and 3.92% black. Its hue angle is 61.64°, with 84.62% saturation and 74.51% 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.19:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.16.

Description generated from the measured properties of this color.

Conversions of #f2f587 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.8593

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

Achromatopsia #efefef ≈ 0.003% of males
Achromatomaly #f0f1cd ≈ 0.001% of males
Protanopia #ffed7e ≈ 1.01% of males
Deuteranopia #fff08c ≈ 1.27% of males
Tritanopia #ffe9db ≈ 0.0001% of males
Protanomaly #fdf082 ≈ 1.08% of males
Deuteranomaly #fef28a ≈ 4.63% of males
Tritanomaly #faeebf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2f587 {
  color: #f2f587;
}
Background
.bg-f2f587 {
  background-color: #f2f587;
  color: #000000;
}
Border
.border-f2f587 {
  border: 2px solid #f2f587;
}
CSS variables
:root {
  --color-primary: #f2f587;
  --color-primary-rgb: 242 245 135;
  --color-primary-hsl: 62 85% 75%;
}
Gradient
.gradient-f2f587 {
  background: linear-gradient(135deg, #f2f587, #bbf587);
}
Colored shadow
.shadow-f2f587 {
  box-shadow: 0 8px 24px rgb(242 245 135 / 0.35);
}

Pastel Yellow
#f2f587  rgb(242, 245, 135)  hsl(62, 85%, 75%)  Pastel Yellow
#8a87f5  rgb(138, 135, 245)  hsl(242, 85%, 75%)  Medium Purple
#87f2f5  rgb(135, 242, 245)  hsl(182, 85%, 75%)  Electric Blue
#f587f2  rgb(245, 135, 242)  hsl(302, 85%, 75%)  Violet