#F2DB98

#f2db98 ≈ Vanilla

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

#f2db98 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.61% blue; printed in CMYK it uses 0% cyan, 9.5% magenta, 37.19% yellow and 5.1% black. Its hue angle is 44.67°, with 77.59% saturation and 77.25% 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.36:1 (WCAG AAA). The closest named color is Vanilla (#f3e5ab), ΔE 3.67.

Description generated from the measured properties of this color.

Conversions of #f2db98 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.7181

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

Achromatopsia #dcdcdc ≈ 0.003% of males
Achromatomaly #e5dcc5 ≈ 0.001% of males
Protanopia #e9d893 ≈ 1.01% of males
Deuteranopia #efdf9a ≈ 1.27% of males
Tritanopia #ffd1ca ≈ 0.0001% of males
Protanomaly #edd995 ≈ 1.08% of males
Deuteranomaly #f0de99 ≈ 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-f2db98 {
  color: #f2db98;
}
Background
.bg-f2db98 {
  background-color: #f2db98;
  color: #000000;
}
Border
.border-f2db98 {
  border: 2px solid #f2db98;
}
CSS variables
:root {
  --color-primary: #f2db98;
  --color-primary-rgb: 242 219 152;
  --color-primary-hsl: 45 78% 77%;
}
Gradient
.gradient-f2db98 {
  background: linear-gradient(135deg, #f2db98, #dcf298);
}
Colored shadow
.shadow-f2db98 {
  box-shadow: 0 8px 24px rgb(242 219 152 / 0.35);
}

Vanilla
#f2db98  rgb(242, 219, 152)  hsl(45, 78%, 77%)  Vanilla
#98aff2  rgb(152, 175, 242)  hsl(225, 78%, 77%)  Wild Blue Yonder
#98f2db  rgb(152, 242, 219)  hsl(165, 78%, 77%)  Magic Mint
#db98f2  rgb(219, 152, 242)  hsl(285, 78%, 77%)  Mauve