#EEF28A

#eef28a ≈ Pastel Yellow

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

#eef28a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 93.33% red, 94.9% green and 54.12% blue; printed in CMYK it uses 1.65% cyan, 0% magenta, 42.98% yellow and 5.1% black. Its hue angle is 62.31°, with 80% saturation and 74.51% 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 17.7:1 (WCAG AAA). The closest named color is Pastel Yellow (#fdfd96), ΔE 2.62.

Description generated from the measured properties of this color.

Conversions of #eef28a 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.8352

Readable text 1.19:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 17.7:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #ececec ≈ 0.003% of males
Achromatomaly #edeecc ≈ 0.001% of males
Protanopia #ffea81 ≈ 1.01% of males
Deuteranopia #ffed8f ≈ 1.27% of males
Tritanopia #fae7d9 ≈ 0.0001% of males
Protanomaly #f9ed85 ≈ 1.08% of males
Deuteranomaly #faef8d ≈ 4.63% of males
Tritanomaly #f6ebbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-eef28a {
  color: #eef28a;
}
Background
.bg-eef28a {
  background-color: #eef28a;
  color: #000000;
}
Border
.border-eef28a {
  border: 2px solid #eef28a;
}
CSS variables
:root {
  --color-primary: #eef28a;
  --color-primary-rgb: 238 242 138;
  --color-primary-hsl: 62 80% 75%;
}
Gradient
.gradient-eef28a {
  background: linear-gradient(135deg, #eef28a, #baf28a);
}
Colored shadow
.shadow-eef28a {
  box-shadow: 0 8px 24px rgb(238 242 138 / 0.35);
}

Pastel Yellow
#eef28a  rgb(238, 242, 138)  hsl(62, 80%, 75%)  Pastel Yellow
#8e8af2  rgb(142, 138, 242)  hsl(242, 80%, 75%)  Medium Purple
#8aeef2  rgb(138, 238, 242)  hsl(182, 80%, 75%)  Electric Blue
#f28aee  rgb(242, 138, 238)  hsl(302, 80%, 75%)  Violet