#EAF8A2

#eaf8a2 ≈ Pastel Yellow

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

#eaf8a2 is a color from the yellow-green family, with high lightness and moderate saturation. In the RGB model it is made of 91.76% red, 97.25% green and 63.53% blue; printed in CMYK it uses 5.65% cyan, 0% magenta, 34.68% yellow and 2.75% black. Its hue angle is 69.77°, with 86% saturation and 80.39% lightness in HSL. It is a warm color, often associated with freshness, growth and vitality. Designers typically use it for eco-friendly brands, health and wellness and soft pastel palettes. Black text on this color reaches a contrast ratio of 18.45:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 4.86.

Description generated from the measured properties of this color.

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

Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 18.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #f0f0f0 ≈ 0.003% of males
Achromatomaly #eef3d5 ≈ 0.001% of males
Protanopia #fff09c ≈ 1.01% of males
Deuteranopia #fff1a6 ≈ 1.27% of males
Tritanopia #f3efe2 ≈ 0.0001% of males
Protanomaly #faf39e ≈ 1.08% of males
Deuteranomaly #f9f4a4 ≈ 4.63% of males
Tritanomaly #eff3cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-eaf8a2 {
  color: #eaf8a2;
}
Background
.bg-eaf8a2 {
  background-color: #eaf8a2;
  color: #000000;
}
Border
.border-eaf8a2 {
  border: 2px solid #eaf8a2;
}
CSS variables
:root {
  --color-primary: #eaf8a2;
  --color-primary-rgb: 234 248 162;
  --color-primary-hsl: 70 86% 80%;
}
Gradient
.gradient-eaf8a2 {
  background: linear-gradient(135deg, #eaf8a2, #bff8a2);
}
Colored shadow
.shadow-eaf8a2 {
  box-shadow: 0 8px 24px rgb(234 248 162 / 0.35);
}

Pastel Yellow
#eaf8a2  rgb(234, 248, 162)  hsl(70, 86%, 80%)  Pastel Yellow
#b0a2f8  rgb(176, 162, 248)  hsl(250, 86%, 80%)  Wild Blue Yonder
#a2eaf8  rgb(162, 234, 248)  hsl(190, 86%, 80%)  Non-Photo Blue
#f8a2ea  rgb(248, 162, 234)  hsl(310, 86%, 80%)  Plum