#E2EA98#E2EA98

#E2EA98 is a very light, moderate yellow. Relative luminance 0.773; OKLCH L 91.2% C 0.104 H 113.0°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#E2EA98
RGBrgb(226, 234, 152)
HSLhsl(66, 66%, 76%)
HSVhsv(66, 35%, 92%)
CMYKcmyk(3.4%, 0%, 35%, 8.2%)
CIE-LABlab(90.45, -15.06, 38.98)
CIE-LCHlch(90.45, 41.79, 111.13°)
OKLaboklab(91.24% -0.0408 0.0961)
OKLCHoklch(91.24% 0.104 113)
XYZxyz(66.4547, 77.2822, 41.1158)
Luminance0.7728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EA98 #A098EA
analogous
#EAC998 #E2EA98 #B9EA98
triadic
#E2EA98 #98E2EA #EA98E2
tetradic
#E2EA98 #98EAC9 #A098EA #EA98B9
square
#E2EA98 #98EAC9 #A098EA #EA98B9
split-complementary
#E2EA98 #98B9EA #C998EA
monochromatic
#C5D532 #D4E065 #E2EA98 #F0F4CB #F8FAE6

Accessibility & contrast

On white

1.28
#E2EA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#E2EA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EA98
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EA98#FFFFFF#000000##000000
##E2EA981.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E392
Deuteranopia (green-blind)
#F5E59C
Tritanopia (blue-blind)
#ECE1D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e2ea98;
/* rgb */ color: rgb(226, 234, 152);
/* oklch */ color: oklch(91.2% 0.104 113.0);
Tailwind
colors: {
  custom: {
    50: '#ecf0b7',
    500: '#e2ea98',
    950: '#000000',
  },
}
SCSS
$custom: #e2ea98;
$custom-light: #ecf0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ea98",
  "rgb": {
    "r": 226,
    "g": 234,
    "b": 152
  },
  "hsl": {
    "h": 65.854,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.91238,
    "c": 0.10436,
    "h": 113
  },
  "luminance": 0.77281
}

Semantic roles & 50–950 ramp

primary
#E2EA98
secondary
#6B61C5
accent
#18CE29
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2EA98

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

Preview Lab → · Contrast checker → · Palette generator →

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