#E8EF97#E8EF97

#E8EF97 is a very light, moderate yellow. Relative luminance 0.811; OKLCH L 92.7% C 0.111 H 112.3°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#E8EF97
RGBrgb(232, 239, 151)
HSLhsl(65, 73%, 76%)
HSVhsv(65, 37%, 94%)
CMYKcmyk(2.9%, 0%, 36.8%, 6.3%)
CIE-LABlab(92.19, -15.37, 41.80)
CIE-LCHlch(92.19, 44.54, 110.18°)
OKLaboklab(92.73% -0.0419 0.1025)
OKLCHoklch(92.73% 0.111 112.3)
XYZxyz(69.7317, 81.1242, 41.2573)
Luminance0.8112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8EF97 #9E97EF
analogous
#EFCA97 #E8EF97 #BCEF97
triadic
#E8EF97 #97E8EF #EF97E8
tetradic
#E8EF97 #97EFCA #9E97EF #EF97BC
square
#E8EF97 #97EFCA #9E97EF #EF97BC
split-complementary
#E8EF97 #97BCEF #CA97EF
monochromatic
#D1DF2D #DCE762 #E8EF97 #F4F7CC #F9FBE4

Accessibility & contrast

On white

1.22
#E8EF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#E8EF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8EF97
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8EF97#FFFFFF#000000##000000
##E8EF971.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE790
Deuteranopia (green-blind)
#FBEA9B
Tritanopia (blue-blind)
#F2E5D9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e8ef97;
/* rgb */ color: rgb(232, 239, 151);
/* oklch */ color: oklch(92.7% 0.111 112.3);
Tailwind
colors: {
  custom: {
    50: '#f0f4b6',
    500: '#e8ef97',
    950: '#000000',
  },
}
SCSS
$custom: #e8ef97;
$custom-light: #f0f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ef97",
  "rgb": {
    "r": 232,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 64.773,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92725,
    "c": 0.11074,
    "h": 112.3
  },
  "luminance": 0.81123
}

Semantic roles & 50–950 ramp

primary
#E8EF97
secondary
#675FCB
accent
#10D520
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #E8EF97

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

Preview Lab → · Contrast checker → · Palette generator →

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