#F2E271

#f2e271 ≈ Straw

  • yellow
  • Lightness: high
  • Saturation: strong
  • Warm

#f2e271 is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 94.9% red, 88.63% green and 44.31% blue; printed in CMYK it uses 0% cyan, 6.61% magenta, 53.31% yellow and 5.1% black. Its hue angle is 52.56°, with 83.23% saturation and 69.61% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 15.89:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.69.

Description generated from the measured properties of this color.

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

Readable text 1.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.89:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e0e0e0 ≈ 0.003% of males
Achromatomaly #e7e1be ≈ 0.001% of males
Protanopia #f4dc66 ≈ 1.01% of males
Deuteranopia #f9e376 ≈ 1.27% of males
Tritanopia #ffd5c8 ≈ 0.0001% of males
Protanomaly #f3de6b ≈ 1.08% of males
Deuteranomaly #f6e374 ≈ 4.63% of males
Tritanomaly #fcdaac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-f2e271 {
  color: #f2e271;
}
Background
.bg-f2e271 {
  background-color: #f2e271;
  color: #000000;
}
Border
.border-f2e271 {
  border: 2px solid #f2e271;
}
CSS variables
:root {
  --color-primary: #f2e271;
  --color-primary-rgb: 242 226 113;
  --color-primary-hsl: 53 83% 70%;
}
Gradient
.gradient-f2e271 {
  background: linear-gradient(135deg, #f2e271, #c2f271);
}
Colored shadow
.shadow-f2e271 {
  box-shadow: 0 8px 24px rgb(242 226 113 / 0.35);
}

Straw
#f2e271  rgb(242, 226, 113)  hsl(53, 83%, 70%)  Straw
#7181f2  rgb(113, 129, 242)  hsl(233, 83%, 70%)  Glaucous
#71f2e2  rgb(113, 242, 226)  hsl(173, 83%, 70%)  Turquoise Blue
#e271f2  rgb(226, 113, 242)  hsl(293, 83%, 70%)  Heliotrope