#E4E2AF#E4E2AF

#E4E2AF is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.067 H 105.8°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#E4E2AF
RGBrgb(228, 226, 175)
HSLhsl(58, 50%, 79%)
HSVhsv(58, 23%, 89%)
CMYKcmyk(0%, 0.9%, 23.2%, 10.6%)
CIE-LABlab(88.91, -7.39, 25.26)
CIE-LCHlch(88.91, 26.32, 106.30°)
OKLaboklab(90.18% -0.0181 0.0641)
OKLCHoklch(90.18% 0.067 105.8)
XYZxyz(66.9290, 73.9828, 51.3034)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E2AF #AFB1E4
analogous
#E4C8AF #E4E2AF #CCE4AF
triadic
#E4E2AF #AFE4E2 #E2AFE4
tetradic
#E4E2AF #AFE4C8 #AFB1E4 #E4AFCC
square
#E4E2AF #AFE4C8 #AFB1E4 #E4AFCC
split-complementary
#E4E2AF #AFCCE4 #C8AFE4
monochromatic
#C5C153 #D5D181 #E4E2AF #F3F3DD #F7F7E8

Accessibility & contrast

On white

1.33
#E4E2AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#E4E2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E2AF
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E2AF#FFFFFF#000000##000000
##E4E2AF1.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDEAC
Deuteranopia (green-blind)
#ECE0B1
Tritanopia (blue-blind)
#ECDBD4
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e4e2af;
/* rgb */ color: rgb(228, 226, 175);
/* oklch */ color: oklch(90.2% 0.067 105.8);
Tailwind
colors: {
  custom: {
    50: '#edebc7',
    500: '#e4e2af',
    950: '#000000',
  },
}
SCSS
$custom: #e4e2af;
$custom-light: #edebc7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e2af",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 175
  },
  "hsl": {
    "h": 57.736,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.90182,
    "c": 0.06656,
    "h": 105.8
  },
  "luminance": 0.73982
}

Semantic roles & 50–950 ramp

primary
#E4E2AF
secondary
#797CBE
accent
#2EBD29
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#161613
muted
#858482

Preview Lab

Preview with #E4E2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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