#E4E8AF#E4E8AF

#E4E8AF is a very light, moderate yellow. Relative luminance 0.773; OKLCH L 91.4% C 0.074 H 111.1°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#E4E8AF
RGBrgb(228, 232, 175)
HSLhsl(64, 55%, 80%)
HSVhsv(64, 25%, 91%)
CMYKcmyk(1.7%, 0%, 24.6%, 9%)
CIE-LABlab(90.46, -10.40, 27.37)
CIE-LCHlch(90.46, 29.28, 110.82°)
OKLaboklab(91.41% -0.0267 0.0692)
OKLCHoklch(91.41% 0.074 111.1)
XYZxyz(68.5892, 77.3031, 51.8568)
Luminance0.7730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E8AF #B3AFE8
analogous
#E8D0AF #E4E8AF #C7E8AF
triadic
#E4E8AF #AFE4E8 #E8AFE4
tetradic
#E4E8AF #AFE8D0 #B3AFE8 #E8AFC7
square
#E4E8AF #AFE8D0 #B3AFE8 #E8AFC7
split-complementary
#E4E8AF #AFC7E8 #D0AFE8
monochromatic
#C4CD50 #D4DA7F #E4E8AF #F4F6DF #F7F8E7

Accessibility & contrast

On white

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

On black

16.46
#E4E8AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E8AF
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E8AF#FFFFFF#000000##000000
##E4E8AF1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1E3AB
Deuteranopia (green-blind)
#F1E5B1
Tritanopia (blue-blind)
#ECE1D9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e4e8af;
/* rgb */ color: rgb(228, 232, 175);
/* oklch */ color: oklch(91.4% 0.074 111.1);
Tailwind
colors: {
  custom: {
    50: '#edefc7',
    500: '#e4e8af',
    950: '#000000',
  },
}
SCSS
$custom: #e4e8af;
$custom-light: #edefc7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e8af",
  "rgb": {
    "r": 228,
    "g": 232,
    "b": 175
  },
  "hsl": {
    "h": 64.211,
    "s": 55.34,
    "l": 79.804
  },
  "oklch": {
    "l": 0.91407,
    "c": 0.07413,
    "h": 111.1
  },
  "luminance": 0.77302
}

Semantic roles & 50–950 ramp

primary
#E4E8AF
secondary
#7D78C3
accent
#23C32E
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#161613
muted
#858582

Preview Lab

Preview with #E4E8AF

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

Preview Lab → · Contrast checker → · Palette generator →

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