#E4E997#E4E997

#E4E997 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.2% C 0.104 H 111.3°. Best body text is #000000 at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#E4E997
RGBrgb(228, 233, 151)
HSLhsl(64, 65%, 75%)
HSVhsv(64, 35%, 91%)
CMYKcmyk(2.1%, 0%, 35.2%, 8.6%)
CIE-LABlab(90.32, -13.93, 39.34)
CIE-LCHlch(90.32, 41.73, 109.50°)
OKLaboklab(91.17% -0.0377 0.0969)
OKLCHoklch(91.17% 0.104 111.3)
XYZxyz(66.7202, 77.0072, 40.6212)
Luminance0.7701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E997 #9C97E9
analogous
#E9C597 #E4E997 #BBE997
triadic
#E4E997 #97E4E9 #E997E4
tetradic
#E4E997 #97E9C5 #9C97E9 #E997BB
square
#E4E997 #97E9C5 #9C97E9 #E997BB
split-complementary
#E4E997 #97BBE9 #C597E9
monochromatic
#CAD432 #D7DE64 #E4E997 #F1F4CA #F8FAE6

Accessibility & contrast

On white

1.28
#E4E997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.40
#E4E997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E997
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E997#FFFFFF#000000##000000
##E4E9971.001.2816.4016.40
#FFFFFF1.281.0021.0021.00
#00000016.4021.001.001.00
##00000016.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#F5E59B
Tritanopia (blue-blind)
#EEE0D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e997;
/* rgb */ color: rgb(228, 233, 151);
/* oklch */ color: oklch(91.2% 0.104 111.3);
Tailwind
colors: {
  custom: {
    50: '#edf0b6',
    500: '#e4e997',
    950: '#000000',
  },
}
SCSS
$custom: #e4e997;
$custom-light: #edf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e997",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 63.659,
    "s": 65.079,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91169,
    "c": 0.10392,
    "h": 111.3
  },
  "luminance": 0.77006
}

Semantic roles & 50–950 ramp

primary
#E4E997
secondary
#6760C4
accent
#19CD24
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E4E997

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

Preview Lab → · Contrast checker → · Palette generator →

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