#E4E2CC#E4E2CC

#E4E2CC is a very light, muted yellow. Relative luminance 0.752; OKLCH L 90.8% C 0.029 H 102.7°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#E4E2CC
RGBrgb(228, 226, 204)
HSLhsl(55, 31%, 85%)
HSVhsv(55, 11%, 89%)
CMYKcmyk(0%, 0.9%, 10.5%, 10.6%)
CIE-LABlab(89.51, -3.05, 11.00)
CIE-LCHlch(89.51, 11.42, 105.51°)
OKLaboklab(90.85% -0.0065 0.0287)
OKLCHoklch(90.85% 0.029 102.7)
XYZxyz(70.0891, 75.2468, 67.9468)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E2CC #CCCEE4
analogous
#E4D6CC #E4E2CC #DAE4CC
triadic
#E4E2CC #CCE4E2 #E2CCE4
tetradic
#E4E2CC #CCE4D6 #CCCEE4 #E4CCDA
square
#E4E2CC #CCE4D6 #CCCEE4 #E4CCDA
split-complementary
#E4E2CC #CCDAE4 #D6CCE4
monochromatic
#BAB47C #CFCBA4 #E4E2CC #F4F4EB #F4F4EB

Accessibility & contrast

On white

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

On black

16.05
#E4E2CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E2CC
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E2CC#FFFFFF#000000##000000
##E4E2CC1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6E0CB
Deuteranopia (green-blind)
#E7E2CD
Tritanopia (blue-blind)
#E8DFDC
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e2cc;
/* rgb */ color: rgb(228, 226, 204);
/* oklch */ color: oklch(90.8% 0.029 102.7);
Tailwind
colors: {
  custom: {
    50: '#ecebdb',
    500: '#e4e2cc',
    950: '#000000',
  },
}
SCSS
$custom: #e4e2cc;
$custom-light: #ecebdb;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e2cc",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 204
  },
  "hsl": {
    "h": 55,
    "s": 30.769,
    "l": 84.706
  },
  "oklch": {
    "l": 0.90847,
    "c": 0.02937,
    "h": 102.7
  },
  "luminance": 0.75246
}

Semantic roles & 50–950 ramp

primary
#E4E2CC
secondary
#989BBC
accent
#45A93C
background
#FEFEFE
surface
#FDFDFB
border
#D5D5D4
text
#161615
muted
#848484

Preview Lab

Preview with #E4E2CC

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

Preview Lab → · Contrast checker → · Palette generator →

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