#E5EC97#E5EC97

#E5EC97 is a very light, moderate yellow. Relative luminance 0.789; OKLCH L 91.9% C 0.107 H 112.3°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#E5EC97
RGBrgb(229, 236, 151)
HSLhsl(65, 69%, 76%)
HSVhsv(65, 36%, 93%)
CMYKcmyk(3%, 0%, 36%, 7.5%)
CIE-LABlab(91.18, -15.03, 40.46)
CIE-LCHlch(91.18, 43.17, 110.38°)
OKLaboklab(91.87% -0.0409 0.0994)
OKLCHoklch(91.87% 0.108 112.3)
XYZxyz(67.8949, 78.8842, 40.9217)
Luminance0.7888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5EC97 #9E97EC
analogous
#ECC897 #E5EC97 #BAEC97
triadic
#E5EC97 #97E5EC #EC97E5
tetradic
#E5EC97 #97ECC8 #9E97EC #EC97BA
square
#E5EC97 #97ECC8 #9E97EC #EC97BA
split-complementary
#E5EC97 #97BAEC #C897EC
monochromatic
#CBD930 #D8E363 #E5EC97 #F2F5CB #F9FAE5

Accessibility & contrast

On white

1.25
#E5EC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#E5EC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5EC97
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5EC97#FFFFFF#000000##000000
##E5EC971.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E591
Deuteranopia (green-blind)
#F8E79B
Tritanopia (blue-blind)
#EFE3D7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e5ec97;
/* rgb */ color: rgb(229, 236, 151);
/* oklch */ color: oklch(91.9% 0.107 112.3);
Tailwind
colors: {
  custom: {
    50: '#eef2b6',
    500: '#e5ec97',
    950: '#000000',
  },
}
SCSS
$custom: #e5ec97;
$custom-light: #eef2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ec97",
  "rgb": {
    "r": 229,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 64.941,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.9187,
    "c": 0.1075,
    "h": 112.3
  },
  "luminance": 0.78883
}

Semantic roles & 50–950 ramp

primary
#E5EC97
secondary
#6860C8
accent
#14D124
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E5EC97

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

Preview Lab → · Contrast checker → · Palette generator →

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