#E4E2AB#E4E2AB

#E4E2AB is a very light, moderate yellow. Relative luminance 0.738; OKLCH L 90.1% C 0.072 H 106.0°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#E4E2AB
RGBrgb(228, 226, 171)
HSLhsl(58, 51%, 78%)
HSVhsv(58, 25%, 89%)
CMYKcmyk(0%, 0.9%, 25%, 10.6%)
CIE-LABlab(88.84, -7.93, 27.22)
CIE-LCHlch(88.84, 28.35, 106.24°)
OKLaboklab(90.1% -0.0197 0.0688)
OKLCHoklch(90.1% 0.072 106)
XYZxyz(66.5420, 73.8280, 49.2650)
Luminance0.7383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E2AB #ABADE4
analogous
#E4C5AB #E4E2AB #C9E4AB
triadic
#E4E2AB #ABE4E2 #E2ABE4
tetradic
#E4E2AB #ABE4C5 #ABADE4 #E4ABC9
square
#E4E2AB #ABE4C5 #ABADE4 #E4ABC9
split-complementary
#E4E2AB #ABC9E4 #C5ABE4
monochromatic
#C6C24E #D5D27D #E4E2AB #F3F2D9 #F8F7E8

Accessibility & contrast

On white

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

On black

15.77
#E4E2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E2AB
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E2AB#FFFFFF#000000##000000
##E4E2AB1.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDEA7
Deuteranopia (green-blind)
#EDE0AD
Tritanopia (blue-blind)
#EDDBD3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e4e2ab;
/* rgb */ color: rgb(228, 226, 171);
/* oklch */ color: oklch(90.1% 0.072 106.0);
Tailwind
colors: {
  custom: {
    50: '#edebc4',
    500: '#e4e2ab',
    950: '#000000',
  },
}
SCSS
$custom: #e4e2ab;
$custom-light: #edebc4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e2ab",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 171
  },
  "hsl": {
    "h": 57.895,
    "s": 51.351,
    "l": 78.235
  },
  "oklch": {
    "l": 0.901,
    "c": 0.07152,
    "h": 106
  },
  "luminance": 0.73827
}

Semantic roles & 50–950 ramp

primary
#E4E2AB
secondary
#7578BE
accent
#2CBF27
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#161612
muted
#858482

Preview Lab

Preview with #E4E2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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