#F2DF8D

#f2df8d ≈ Buff

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

#f2df8d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 87.45% green and 55.29% blue; printed in CMYK it uses 0% cyan, 7.85% magenta, 41.74% yellow and 5.1% black. Its hue angle is 48.71°, with 79.53% saturation and 75.1% 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 15.72:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 1.51.

Description generated from the measured properties of this color.

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

Readable text 1.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dfdfdf ≈ 0.003% of males
Achromatomaly #e7dfc3 ≈ 0.001% of males
Protanopia #eedb87 ≈ 1.01% of males
Deuteranopia #f4e290 ≈ 1.27% of males
Tritanopia #ffd4cb ≈ 0.0001% of males
Protanomaly #f0dd89 ≈ 1.08% of males
Deuteranomaly #f3e18f ≈ 4.63% of males
Tritanomaly #fbd8b5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Buff
#f2df8d  rgb(242, 223, 141)  hsl(49, 80%, 75%)  Buff
#8da0f2  rgb(141, 160, 242)  hsl(229, 80%, 75%)  Cornflower Blue
#8df2df  rgb(141, 242, 223)  hsl(169, 80%, 75%)  Magic Mint
#df8df2  rgb(223, 141, 242)  hsl(289, 80%, 75%)  Violet