#FCF7A2

#fcf7a2 ≈ Pastel Yellow

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

#fcf7a2 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 98.82% red, 96.86% green and 63.53% blue; printed in CMYK it uses 0% cyan, 1.98% magenta, 35.71% yellow and 1.18% black. Its hue angle is 56.67°, with 93.75% saturation and 81.18% 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 18.97:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 3.03.

Description generated from the measured properties of this color.

Conversions of #fcf7a2 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.8983

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

Achromatopsia #f3f3f3 ≈ 0.003% of males
Achromatomaly #f7f5d8 ≈ 0.001% of males
Protanopia #fff19c ≈ 1.01% of males
Deuteranopia #fff5a5 ≈ 1.27% of males
Tritanopia #ffece2 ≈ 0.0001% of males
Protanomaly #fff39e ≈ 1.08% of males
Deuteranomaly #fff6a4 ≈ 4.63% of males
Tritanomaly #fff1cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-fcf7a2 {
  color: #fcf7a2;
}
Background
.bg-fcf7a2 {
  background-color: #fcf7a2;
  color: #000000;
}
Border
.border-fcf7a2 {
  border: 2px solid #fcf7a2;
}
CSS variables
:root {
  --color-primary: #fcf7a2;
  --color-primary-rgb: 252 247 162;
  --color-primary-hsl: 57 94% 81%;
}
Gradient
.gradient-fcf7a2 {
  background: linear-gradient(135deg, #fcf7a2, #d4fca2);
}
Colored shadow
.shadow-fcf7a2 {
  box-shadow: 0 8px 24px rgb(252 247 162 / 0.35);
}

Pastel Yellow
#fcf7a2  rgb(252, 247, 162)  hsl(57, 94%, 81%)  Pastel Yellow
#a2a7fc  rgb(162, 167, 252)  hsl(237, 94%, 81%)  Wild Blue Yonder
#a2fcf7  rgb(162, 252, 247)  hsl(177, 94%, 81%)  Celeste
#f7a2fc  rgb(247, 162, 252)  hsl(297, 94%, 81%)  Plum