#E2EF98#E2EF98

#E2EF98 is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.3% C 0.111 H 115.5°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#E2EF98
RGBrgb(226, 239, 152)
HSLhsl(69, 73%, 77%)
HSVhsv(69, 36%, 94%)
CMYKcmyk(5.4%, 0%, 36.4%, 6.3%)
CIE-LABlab(91.76, -17.52, 40.67)
CIE-LCHlch(91.76, 44.29, 113.30°)
OKLaboklab(92.28% -0.0478 0.1)
OKLCHoklch(92.28% 0.111 115.5)
XYZxyz(67.8983, 80.1694, 41.5970)
Luminance0.8017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EF98 #A598EF
analogous
#EFD198 #E2EF98 #B7EF98
triadic
#E2EF98 #98E2EF #EF98E2
tetradic
#E2EF98 #98EFD1 #A598EF #EF98B7
square
#E2EF98 #98EFD1 #A598EF #EF98B7
split-complementary
#E2EF98 #98B7EF #D198EF
monochromatic
#C4DF2E #D3E763 #E2EF98 #F1F7CD #F8FBE5

Accessibility & contrast

On white

1.23
#E2EF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#E2EF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EF98
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EF98#FFFFFF#000000##000000
##E2EF981.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE792
Deuteranopia (green-blind)
#F9E89C
Tritanopia (blue-blind)
#EBE6D9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2ef98;
/* rgb */ color: rgb(226, 239, 152);
/* oklch */ color: oklch(92.3% 0.111 115.5);
Tailwind
colors: {
  custom: {
    50: '#ecf4b7',
    500: '#e2ef98',
    950: '#000000',
  },
}
SCSS
$custom: #e2ef98;
$custom-light: #ecf4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ef98",
  "rgb": {
    "r": 226,
    "g": 239,
    "b": 152
  },
  "hsl": {
    "h": 68.966,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92281,
    "c": 0.1108,
    "h": 115.5
  },
  "luminance": 0.80169
}

Semantic roles & 50–950 ramp

primary
#E2EF98
secondary
#7060CC
accent
#10D52E
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161711
muted
#858581

Preview Lab

Preview with #E2EF98

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

Preview Lab → · Contrast checker → · Palette generator →

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