#E4E4AF#E4E4AF

#E4E4AF is a very light, moderate yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.069 H 107.7°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#E4E4AF
RGBrgb(228, 228, 175)
HSLhsl(60, 50%, 79%)
HSVhsv(60, 23%, 89%)
CMYKcmyk(0%, 0%, 23.2%, 10.6%)
CIE-LABlab(89.43, -8.40, 25.96)
CIE-LCHlch(89.43, 27.28, 107.92°)
OKLaboklab(90.59% -0.021 0.0658)
OKLCHoklch(90.59% 0.069 107.7)
XYZxyz(67.4760, 75.0768, 51.4858)
Luminance0.7508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E4AF #AFAFE4
analogous
#E4CAAF #E4E4AF #CAE4AF
triadic
#E4E4AF #AFE4E4 #E4AFE4
tetradic
#E4E4AF #AFE4CA #AFAFE4 #E4AFCA
square
#E4E4AF #AFE4CA #AFAFE4 #E4AFCA
split-complementary
#E4E4AF #AFCAE4 #CAAFE4
monochromatic
#C5C553 #D5D581 #E4E4AF #F3F3DD #F7F7E8

Accessibility & contrast

On white

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

On black

16.02
#E4E4AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E4AF
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E4AF#FFFFFF#000000##000000
##E4E4AF1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDFAC
Deuteranopia (green-blind)
#EEE2B1
Tritanopia (blue-blind)
#ECDDD6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e4af;
/* rgb */ color: rgb(228, 228, 175);
/* oklch */ color: oklch(90.6% 0.069 107.7);
Tailwind
colors: {
  custom: {
    50: '#edecc7',
    500: '#e4e4af',
    950: '#000000',
  },
}
SCSS
$custom: #e4e4af;
$custom-light: #edecc7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e4af",
  "rgb": {
    "r": 228,
    "g": 228,
    "b": 175
  },
  "hsl": {
    "h": 60,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.90589,
    "c": 0.06902,
    "h": 107.7
  },
  "luminance": 0.75076
}

Semantic roles & 50–950 ramp

primary
#E4E4AF
secondary
#7979BE
accent
#29BD29
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#161613
muted
#858482

Preview Lab

Preview with #E4E4AF

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

Preview Lab → · Contrast checker → · Palette generator →

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