#E4EC97#E4EC97

#E4EC97 is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 91.8% C 0.108 H 112.9°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#E4EC97
RGBrgb(228, 236, 151)
HSLhsl(66, 69%, 76%)
HSVhsv(66, 36%, 93%)
CMYKcmyk(3.4%, 0%, 36%, 7.5%)
CIE-LABlab(91.11, -15.41, 40.35)
CIE-LCHlch(91.11, 43.20, 110.90°)
OKLaboklab(91.79% -0.0419 0.0992)
OKLCHoklch(91.79% 0.108 112.9)
XYZxyz(67.5767, 78.7201, 40.9067)
Luminance0.7872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4EC97 #9F97EC
analogous
#ECC997 #E4EC97 #B9EC97
triadic
#E4EC97 #97E4EC #EC97E4
tetradic
#E4EC97 #97ECC9 #9F97EC #EC97B9
square
#E4EC97 #97ECC9 #9F97EC #EC97B9
split-complementary
#E4EC97 #97B9EC #C997EC
monochromatic
#C9D930 #D7E363 #E4EC97 #F1F5CB #F8FAE5

Accessibility & contrast

On white

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

On black

16.74
#E4EC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4EC97
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4EC97#FFFFFF#000000##000000
##E4EC971.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E491
Deuteranopia (green-blind)
#F8E79B
Tritanopia (blue-blind)
#EEE3D7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e4ec97;
/* rgb */ color: rgb(228, 236, 151);
/* oklch */ color: oklch(91.8% 0.108 112.9);
Tailwind
colors: {
  custom: {
    50: '#edf2b6',
    500: '#e4ec97',
    950: '#000000',
  },
}
SCSS
$custom: #e4ec97;
$custom-light: #edf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ec97",
  "rgb": {
    "r": 228,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 65.647,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91792,
    "c": 0.10767,
    "h": 112.9
  },
  "luminance": 0.78719
}

Semantic roles & 50–950 ramp

primary
#E4EC97
secondary
#6960C8
accent
#14D126
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E4EC97

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

Preview Lab → · Contrast checker → · Palette generator →

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