#E2ED8F#E2ED8F

#E2ED8F is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 91.7% C 0.118 H 114.2°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#E2ED8F
RGBrgb(226, 237, 143)
HSLhsl(67, 72%, 75%)
HSVhsv(67, 40%, 93%)
CMYKcmyk(4.6%, 0%, 39.7%, 7.1%)
CIE-LABlab(91.11, -17.56, 44.27)
CIE-LCHlch(91.11, 47.62, 111.63°)
OKLaboklab(91.72% -0.0485 0.1078)
OKLCHoklch(91.72% 0.118 114.2)
XYZxyz(66.6067, 78.7211, 37.6671)
Luminance0.7872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ED8F #9A8FED
analogous
#EDC98F #E2ED8F #B3ED8F
triadic
#E2ED8F #8FE2ED #ED8FE2
tetradic
#E2ED8F #8FEDC9 #9A8FED #ED8FB3
square
#E2ED8F #8FEDC9 #9A8FED #ED8FB3
split-complementary
#E2ED8F #8FB3ED #C98FED
monochromatic
#C7DC26 #D4E55A #E2ED8F #F0F5C4 #F8FBE5

Accessibility & contrast

On white

1.25
#E2ED8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#E2ED8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ED8F
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ED8F#FFFFFF#000000##000000
##E2ED8F1.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E588
Deuteranopia (green-blind)
#F9E793
Tritanopia (blue-blind)
#ECE3D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e2ed8f;
/* rgb */ color: rgb(226, 237, 143);
/* oklch */ color: oklch(91.7% 0.118 114.2);
Tailwind
colors: {
  custom: {
    50: '#ecf2b1',
    500: '#e2ed8f',
    950: '#000000',
  },
}
SCSS
$custom: #e2ed8f;
$custom-light: #ecf2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ed8f",
  "rgb": {
    "r": 226,
    "g": 237,
    "b": 143
  },
  "hsl": {
    "h": 67.021,
    "s": 72.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91719,
    "c": 0.1182,
    "h": 114.2
  },
  "luminance": 0.7872
}

Semantic roles & 50–950 ramp

primary
#E2ED8F
secondary
#6558C8
accent
#11D428
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161711
muted
#858581

Preview Lab

Preview with #E2ED8F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E2ED8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva