#E2DF7B

#e2df7b ≈ Straw

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

#e2df7b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 88.63% red, 87.45% green and 48.24% blue; printed in CMYK it uses 0% cyan, 1.33% magenta, 45.58% yellow and 11.37% black. Its hue angle is 58.25°, with 63.98% saturation and 68.43% 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.07:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.6.

Description generated from the measured properties of this color.

Conversions of #e2df7b 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.7037

Readable text 1.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dadada ≈ 0.003% of males
Achromatomaly #dddcbc ≈ 0.001% of males
Protanopia #eed873 ≈ 1.01% of males
Deuteranopia #f0dc80 ≈ 1.27% of males
Tritanopia #efd4c7 ≈ 0.0001% of males
Protanomaly #e9db76 ≈ 1.08% of males
Deuteranomaly #eadd7e ≈ 4.63% of males
Tritanomaly #ead8ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2df7b {
  color: #e2df7b;
}
Background
.bg-e2df7b {
  background-color: #e2df7b;
  color: #000000;
}
Border
.border-e2df7b {
  border: 2px solid #e2df7b;
}
CSS variables
:root {
  --color-primary: #e2df7b;
  --color-primary-rgb: 226 223 123;
  --color-primary-hsl: 58 64% 68%;
}
Gradient
.gradient-e2df7b {
  background: linear-gradient(135deg, #e2df7b, #b2e27b);
}
Colored shadow
.shadow-e2df7b {
  box-shadow: 0 8px 24px rgb(226 223 123 / 0.35);
}

Straw
#e2df7b  rgb(226, 223, 123)  hsl(58, 64%, 68%)  Straw
#7b7ee2  rgb(123, 126, 226)  hsl(238, 64%, 68%)  Medium Slate Blue
#7be2df  rgb(123, 226, 223)  hsl(178, 64%, 68%)  Medium Turquoise
#df7be2  rgb(223, 123, 226)  hsl(298, 64%, 68%)  Orchid