#F0DF97

#f0df97 ≈ Flax

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

#f0df97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.12% red, 87.45% green and 59.22% blue; printed in CMYK it uses 0% cyan, 7.08% magenta, 37.08% yellow and 5.88% black. Its hue angle is 48.54°, with 74.79% saturation and 76.67% 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.71:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 3.2.

Description generated from the measured properties of this color.

Conversions of #f0df97 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.7353

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

Achromatopsia #dfdfdf ≈ 0.003% of males
Achromatomaly #e6dfc6 ≈ 0.001% of males
Protanopia #eddb92 ≈ 1.01% of males
Deuteranopia #f2e19a ≈ 1.27% of males
Tritanopia #fdd5cd ≈ 0.0001% of males
Protanomaly #eedd94 ≈ 1.08% of males
Deuteranomaly #f1e099 ≈ 4.63% of males
Tritanomaly #f8d9ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Flax
#f0df97  rgb(240, 223, 151)  hsl(49, 75%, 77%)  Flax
#97a8f0  rgb(151, 168, 240)  hsl(229, 75%, 77%)  Wild Blue Yonder
#97f0df  rgb(151, 240, 223)  hsl(169, 75%, 77%)  Magic Mint
#df97f0  rgb(223, 151, 240)  hsl(289, 75%, 77%)  Violet