#E5F97C#E5F97C

#E5F97C is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.2% C 0.152 H 116.9°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#E5F97C
RGBrgb(229, 249, 124)
HSLhsl(70, 91%, 73%)
HSVhsv(70, 50%, 98%)
CMYKcmyk(8%, 0%, 50.2%, 2.4%)
CIE-LABlab(94.25, -24.07, 57.18)
CIE-LCHlch(94.25, 62.04, 112.83°)
OKLaboklab(94.21% -0.0687 0.1352)
OKLCHoklch(94.21% 0.152 116.9)
XYZxyz(69.8278, 85.8653, 31.9600)
Luminance0.8587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F97C #907CF9
analogous
#F9CE7C #E5F97C #A6F97C
triadic
#E5F97C #7CE5F9 #F97CE5
tetradic
#E5F97C #7CF9CE #907CF9 #F97CA6
square
#E5F97C #7CF9CE #907CF9 #F97CA6
split-complementary
#E5F97C #7CA6F9 #CE7CF9
monochromatic
#CBF00B #D9F641 #E5F97C #F1FCB7 #F9FEE2

Accessibility & contrast

On white

1.16
#E5F97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#E5F97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F97C
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F97C#FFFFFF#000000##000000
##E5F97C1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE70
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#F0EDDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e5f97c;
/* rgb */ color: rgb(229, 249, 124);
/* oklch */ color: oklch(94.2% 0.152 116.9);
Tailwind
colors: {
  custom: {
    50: '#effba5',
    500: '#e5f97c',
    950: '#000000',
  },
}
SCSS
$custom: #e5f97c;
$custom-light: #effba5;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f97c",
  "rgb": {
    "r": 229,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 69.6,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94211,
    "c": 0.15165,
    "h": 116.9
  },
  "luminance": 0.85865
}

Semantic roles & 50–950 ramp

primary
#E5F97C
secondary
#5B44D6
accent
#00E625
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E5F97C

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

Preview Lab → · Contrast checker → · Palette generator →

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