#E4E897#E4E897

#E4E897 is a very light, moderate yellow. Relative luminance 0.764; OKLCH L 91.0% C 0.103 H 110.7°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#E4E897
RGBrgb(228, 232, 151)
HSLhsl(63, 64%, 75%)
HSVhsv(63, 35%, 91%)
CMYKcmyk(1.7%, 0%, 34.9%, 9%)
CIE-LABlab(90.06, -13.43, 39.00)
CIE-LCHlch(90.06, 41.25, 109.00°)
OKLaboklab(90.96% -0.0363 0.0961)
OKLCHoklch(90.96% 0.103 110.7)
XYZxyz(66.4379, 76.4426, 40.5272)
Luminance0.7644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E897 #9B97E8
analogous
#E8C397 #E4E897 #BBE897
triadic
#E4E897 #97E4E8 #E897E4
tetradic
#E4E897 #97E8C3 #9B97E8 #E897BB
square
#E4E897 #97E8C3 #9B97E8 #E897BB
split-complementary
#E4E897 #97BBE8 #C397E8
monochromatic
#CAD233 #D7DD65 #E4E897 #F1F3C9 #F8F9E6

Accessibility & contrast

On white

1.29
#E4E897 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#E4E897 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E897
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E897#FFFFFF#000000##000000
##E4E8971.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#F5E49A
Tritanopia (blue-blind)
#EEDFD4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e897;
/* rgb */ color: rgb(228, 232, 151);
/* oklch */ color: oklch(91.0% 0.103 110.7);
Tailwind
colors: {
  custom: {
    50: '#edefb6',
    500: '#e4e897',
    950: '#000000',
  },
}
SCSS
$custom: #e4e897;
$custom-light: #edefb6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e897",
  "rgb": {
    "r": 228,
    "g": 232,
    "b": 151
  },
  "hsl": {
    "h": 62.963,
    "s": 63.78,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90962,
    "c": 0.10269,
    "h": 110.7
  },
  "luminance": 0.76442
}

Semantic roles & 50–950 ramp

primary
#E4E897
secondary
#6661C2
accent
#1ACC23
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E4E897

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

Preview Lab → · Contrast checker → · Palette generator →

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