#E2E172

#e2e172 ≈ Straw

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

#e2e172 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 88.63% red, 88.24% green and 44.71% blue; printed in CMYK it uses 0% cyan, 0.44% magenta, 49.56% yellow and 11.37% black. Its hue angle is 59.46°, with 65.88% saturation and 66.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 brand accents. Black text on this color reaches a contrast ratio of 15.25:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.94.

Description generated from the measured properties of this color.

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

Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dcdcdc ≈ 0.003% of males
Achromatomaly #dedebb ≈ 0.001% of males
Protanopia #f0d968 ≈ 1.01% of males
Deuteranopia #f2de78 ≈ 1.27% of males
Tritanopia #efd5c8 ≈ 0.0001% of males
Protanomaly #ebdc6c ≈ 1.08% of males
Deuteranomaly #ecdf75 ≈ 4.63% of males
Tritanomaly #eadaac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2e172 {
  color: #e2e172;
}
Background
.bg-e2e172 {
  background-color: #e2e172;
  color: #000000;
}
Border
.border-e2e172 {
  border: 2px solid #e2e172;
}
CSS variables
:root {
  --color-primary: #e2e172;
  --color-primary-rgb: 226 225 114;
  --color-primary-hsl: 59 66% 67%;
}
Gradient
.gradient-e2e172 {
  background: linear-gradient(135deg, #e2e172, #abe272);
}
Colored shadow
.shadow-e2e172 {
  box-shadow: 0 8px 24px rgb(226 225 114 / 0.35);
}

Straw
#e2e172  rgb(226, 225, 114)  hsl(59, 66%, 67%)  Straw
#7273e2  rgb(114, 115, 226)  hsl(239, 66%, 67%)  Medium Slate Blue
#72e2e1  rgb(114, 226, 225)  hsl(179, 66%, 67%)  Medium Turquoise
#e172e2  rgb(225, 114, 226)  hsl(299, 66%, 67%)  Orchid