#E2C871

#e2c871 ≈ Buff

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

#e2c871 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 88.63% red, 78.43% green and 44.31% blue; printed in CMYK it uses 0% cyan, 11.5% magenta, 50% yellow and 11.37% black. Its hue angle is 46.19°, with 66.08% saturation and 66.47% 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 12.73:1 (WCAG AAA). The closest named color is Buff (#f0dc82), ΔE 4.8.

Description generated from the measured properties of this color.

Conversions of #e2c871 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.5867

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #d4c9ad ≈ 0.001% of males
Protanopia #d8c56a ≈ 1.01% of males
Deuteranopia #dfcd74 ≈ 1.27% of males
Tritanopia #f1bcb3 ≈ 0.0001% of males
Protanomaly #dcc66d ≈ 1.08% of males
Deuteranomaly #e0cb73 ≈ 4.63% of males
Tritanomaly #ebc19d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Buff
#e2c871  rgb(226, 200, 113)  hsl(46, 66%, 66%)  Buff
#718be2  rgb(113, 139, 226)  hsl(226, 66%, 66%)  Cornflower Blue
#71e2c8  rgb(113, 226, 200)  hsl(166, 66%, 66%)  Turquoise
#c871e2  rgb(200, 113, 226)  hsl(286, 66%, 66%)  Floral Lavender