#E4E8AB#E4E8AB

#E4E8AB is a very light, moderate yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.079 H 111.0°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#E4E8AB
RGBrgb(228, 232, 171)
HSLhsl(64, 57%, 79%)
HSVhsv(64, 26%, 91%)
CMYKcmyk(1.7%, 0%, 26.3%, 9%)
CIE-LABlab(90.39, -10.94, 29.32)
CIE-LCHlch(90.39, 31.29, 110.47°)
OKLaboklab(91.33% -0.0283 0.0738)
OKLCHoklch(91.33% 0.079 111)
XYZxyz(68.2021, 77.1483, 49.8184)
Luminance0.7715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E8AB #AFABE8
analogous
#E8CEAB #E4E8AB #C6E8AB
triadic
#E4E8AB #ABE4E8 #E8ABE4
tetradic
#E4E8AB #ABE8CE #AFABE8 #E8ABC6
square
#E4E8AB #ABE8CE #AFABE8 #E8ABC6
split-complementary
#E4E8AB #ABC6E8 #CEABE8
monochromatic
#C5CE4B #D5DB7B #E4E8AB #F3F5DB #F7F8E7

Accessibility & contrast

On white

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

On black

16.43
#E4E8AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E8AB
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E8AB#FFFFFF#000000##000000
##E4E8AB1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E2A7
Deuteranopia (green-blind)
#F2E4AD
Tritanopia (blue-blind)
#ECE1D8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e8ab;
/* rgb */ color: rgb(228, 232, 171);
/* oklch */ color: oklch(91.3% 0.079 111.0);
Tailwind
colors: {
  custom: {
    50: '#edefc4',
    500: '#e4e8ab',
    950: '#000000',
  },
}
SCSS
$custom: #e4e8ab;
$custom-light: #edefc4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e8ab",
  "rgb": {
    "r": 228,
    "g": 232,
    "b": 171
  },
  "hsl": {
    "h": 63.934,
    "s": 57.009,
    "l": 79.02
  },
  "oklch": {
    "l": 0.91327,
    "c": 0.07903,
    "h": 111
  },
  "luminance": 0.77147
}

Semantic roles & 50–950 ramp

primary
#E4E8AB
secondary
#7974C3
accent
#21C52C
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#161612
muted
#858582

Preview Lab

Preview with #E4E8AB

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

Preview Lab → · Contrast checker → · Palette generator →

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