#F2FC7B

#f2fc7b ≈ Pastel Yellow

  • yellow
  • Lightness: high
  • Saturation: strong
  • Warm

#f2fc7b is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 98.82% green and 48.24% blue; printed in CMYK it uses 3.97% cyan, 0% magenta, 51.19% yellow and 1.18% black. Its hue angle is 64.65°, with 95.56% saturation and 73.53% 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.99:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.82.

Description generated from the measured properties of this color.

Conversions of #f2fc7b 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.8993

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

Achromatopsia #f3f3f3 ≈ 0.003% of males
Achromatomaly #f3f7ce ≈ 0.001% of males
Protanopia #fff26f ≈ 1.01% of males
Deuteranopia #fff582 ≈ 1.27% of males
Tritanopia #ffefdf ≈ 0.0001% of males
Protanomaly #fff674 ≈ 1.08% of males
Deuteranomaly #fff87f ≈ 4.63% of males
Tritanomaly #faf4bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2fc7b {
  color: #f2fc7b;
}
Background
.bg-f2fc7b {
  background-color: #f2fc7b;
  color: #000000;
}
Border
.border-f2fc7b {
  border: 2px solid #f2fc7b;
}
CSS variables
:root {
  --color-primary: #f2fc7b;
  --color-primary-rgb: 242 252 123;
  --color-primary-hsl: 65 96% 74%;
}
Gradient
.gradient-f2fc7b {
  background: linear-gradient(135deg, #f2fc7b, #b2fc7b);
}
Colored shadow
.shadow-f2fc7b {
  box-shadow: 0 8px 24px rgb(242 252 123 / 0.35);
}

Pastel Yellow
#f2fc7b  rgb(242, 252, 123)  hsl(65, 96%, 74%)  Pastel Yellow
#857bfc  rgb(133, 123, 252)  hsl(245, 96%, 74%)  Medium Slate Blue
#7bf2fc  rgb(123, 242, 252)  hsl(185, 96%, 74%)  Electric Blue
#fc7bf2  rgb(252, 123, 242)  hsl(305, 96%, 74%)  Fuchsia Pink