#E4E4AB#E4E4AB

#E4E4AB is a very light, moderate yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.074 H 107.8°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#E4E4AB
RGBrgb(228, 228, 171)
HSLhsl(60, 51%, 78%)
HSVhsv(60, 25%, 89%)
CMYKcmyk(0%, 0%, 25%, 10.6%)
CIE-LABlab(89.36, -8.94, 27.92)
CIE-LCHlch(89.36, 29.31, 107.75°)
OKLaboklab(90.51% -0.0226 0.0704)
OKLCHoklch(90.51% 0.074 107.8)
XYZxyz(67.0890, 74.9220, 49.4474)
Luminance0.7492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E4AB #ABABE4
analogous
#E4C7AB #E4E4AB #C7E4AB
triadic
#E4E4AB #ABE4E4 #E4ABE4
tetradic
#E4E4AB #ABE4C7 #ABABE4 #E4ABC7
square
#E4E4AB #ABE4C7 #ABABE4 #E4ABC7
split-complementary
#E4E4AB #ABC7E4 #C7ABE4
monochromatic
#C6C64E #D5D57D #E4E4AB #F3F3D9 #F8F8E8

Accessibility & contrast

On white

1.31
#E4E4AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#E4E4AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E4AB
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E4AB#FFFFFF#000000##000000
##E4E4AB1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDFA7
Deuteranopia (green-blind)
#EFE2AD
Tritanopia (blue-blind)
#ECDDD5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e4ab;
/* rgb */ color: rgb(228, 228, 171);
/* oklch */ color: oklch(90.5% 0.074 107.8);
Tailwind
colors: {
  custom: {
    50: '#edecc4',
    500: '#e4e4ab',
    950: '#000000',
  },
}
SCSS
$custom: #e4e4ab;
$custom-light: #edecc4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e4ab",
  "rgb": {
    "r": 228,
    "g": 228,
    "b": 171
  },
  "hsl": {
    "h": 60,
    "s": 51.351,
    "l": 78.235
  },
  "oklch": {
    "l": 0.90508,
    "c": 0.07397,
    "h": 107.8
  },
  "luminance": 0.74921
}

Semantic roles & 50–950 ramp

primary
#E4E4AB
secondary
#7575BE
accent
#27BF27
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#161612
muted
#858482

Preview Lab

Preview with #E4E4AB

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

Preview Lab → · Contrast checker → · Palette generator →

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