#E4EF97#E4EF97

#E4EF97 is a very light, moderate yellow. Relative luminance 0.805; OKLCH L 92.4% C 0.111 H 114.4°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#E4EF97
RGBrgb(228, 239, 151)
HSLhsl(68, 73%, 76%)
HSVhsv(68, 37%, 94%)
CMYKcmyk(4.6%, 0%, 36.8%, 6.3%)
CIE-LABlab(91.89, -16.88, 41.37)
CIE-LCHlch(91.89, 44.68, 112.20°)
OKLaboklab(92.42% -0.0461 0.1015)
OKLCHoklch(92.42% 0.111 114.4)
XYZxyz(68.4477, 80.4621, 41.1971)
Luminance0.8046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4EF97 #A297EF
analogous
#EFCE97 #E4EF97 #B8EF97
triadic
#E4EF97 #97E4EF #EF97E4
tetradic
#E4EF97 #97EFCE #A297EF #EF97B8
square
#E4EF97 #97EFCE #A297EF #EF97B8
split-complementary
#E4EF97 #97B8EF #CE97EF
monochromatic
#C8DF2D #D6E762 #E4EF97 #F2F7CC #F8FBE4

Accessibility & contrast

On white

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

On black

17.09
#E4EF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4EF97
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4EF97#FFFFFF#000000##000000
##E4EF971.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE791
Deuteranopia (green-blind)
#FAE99B
Tritanopia (blue-blind)
#EEE6D9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e4ef97;
/* rgb */ color: rgb(228, 239, 151);
/* oklch */ color: oklch(92.4% 0.111 114.4);
Tailwind
colors: {
  custom: {
    50: '#edf4b6',
    500: '#e4ef97',
    950: '#000000',
  },
}
SCSS
$custom: #e4ef97;
$custom-light: #edf4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ef97",
  "rgb": {
    "r": 228,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 67.5,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92417,
    "c": 0.11149,
    "h": 114.4
  },
  "luminance": 0.80461
}

Semantic roles & 50–950 ramp

primary
#E4EF97
secondary
#6C5FCB
accent
#10D529
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161711
muted
#858581

Preview Lab

Preview with #E4EF97

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

Preview Lab → · Contrast checker → · Palette generator →

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