#F2DB97

#f2db97 ≈ Vanilla

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

#f2db97 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 94.9% red, 85.88% green and 59.22% blue; printed in CMYK it uses 0% cyan, 9.5% magenta, 37.6% yellow and 5.1% black. Its hue angle is 44.84°, with 77.78% saturation and 77.06% 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.35:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 3.76.

Description generated from the measured properties of this color.

Conversions of #f2db97 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.7177

Readable text 1.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dcdcdc ≈ 0.003% of males
Achromatomaly #e5dcc4 ≈ 0.001% of males
Protanopia #e9d892 ≈ 1.01% of males
Deuteranopia #efdf99 ≈ 1.27% of males
Tritanopia #ffd1ca ≈ 0.0001% of males
Protanomaly #edd994 ≈ 1.08% of males
Deuteranomaly #f0de98 ≈ 4.63% of males
Tritanomaly #fad5b8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2db97 {
  color: #f2db97;
}
Background
.bg-f2db97 {
  background-color: #f2db97;
  color: #000000;
}
Border
.border-f2db97 {
  border: 2px solid #f2db97;
}
CSS variables
:root {
  --color-primary: #f2db97;
  --color-primary-rgb: 242 219 151;
  --color-primary-hsl: 45 78% 77%;
}
Gradient
.gradient-f2db97 {
  background: linear-gradient(135deg, #f2db97, #dbf297);
}
Colored shadow
.shadow-f2db97 {
  box-shadow: 0 8px 24px rgb(242 219 151 / 0.35);
}

Vanilla
#f2db97  rgb(242, 219, 151)  hsl(45, 78%, 77%)  Vanilla
#97aef2  rgb(151, 174, 242)  hsl(225, 78%, 77%)  Wild Blue Yonder
#97f2db  rgb(151, 242, 219)  hsl(165, 78%, 77%)  Magic Mint
#db97f2  rgb(219, 151, 242)  hsl(285, 78%, 77%)  Violet