#E2EF97#E2EF97

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

Color values

HEX#E2EF97
RGBrgb(226, 239, 151)
HSLhsl(69, 73%, 76%)
HSVhsv(69, 37%, 94%)
CMYKcmyk(5.4%, 0%, 36.8%, 6.3%)
CIE-LABlab(91.75, -17.63, 41.15)
CIE-LCHlch(91.75, 44.77, 113.20°)
OKLaboklab(92.27% -0.0482 0.101)
OKLCHoklch(92.27% 0.112 115.5)
XYZxyz(67.8167, 80.1368, 41.1675)
Luminance0.8014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EF97 #A497EF
analogous
#EFD097 #E2EF97 #B6EF97
triadic
#E2EF97 #97E2EF #EF97E2
tetradic
#E2EF97 #97EFD0 #A497EF #EF97B6
square
#E2EF97 #97EFD0 #A497EF #EF97B6
split-complementary
#E2EF97 #97B6EF #D097EF
monochromatic
#C4DF2D #D3E762 #E2EF97 #F1F7CC #F8FBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2EF97#FFFFFF#000000##000000
##E2EF971.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)
#FBE791
Deuteranopia (green-blind)
#FAE89B
Tritanopia (blue-blind)
#EBE6D9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2ef97;
/* rgb */ color: rgb(226, 239, 151);
/* oklch */ color: oklch(92.3% 0.112 115.5);
Tailwind
colors: {
  custom: {
    50: '#ecf4b6',
    500: '#e2ef97',
    950: '#000000',
  },
}
SCSS
$custom: #e2ef97;
$custom-light: #ecf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ef97",
  "rgb": {
    "r": 226,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 68.864,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92265,
    "c": 0.11192,
    "h": 115.5
  },
  "luminance": 0.80136
}

Semantic roles & 50–950 ramp

primary
#E2EF97
secondary
#6F5FCB
accent
#10D52D
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161711
muted
#858581

Preview Lab

Preview with #E2EF97

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

Preview Lab → · Contrast checker → · Palette generator →

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