#E2E2AB#E2E2AB

#E2E2AB is a very light, moderate yellow. Relative luminance 0.735; OKLCH L 89.9% C 0.072 H 107.8°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#E2E2AB
RGBrgb(226, 226, 171)
HSLhsl(60, 49%, 78%)
HSVhsv(60, 24%, 89%)
CMYKcmyk(0%, 0%, 24.3%, 11.4%)
CIE-LABlab(88.69, -8.67, 26.98)
CIE-LCHlch(88.69, 28.34, 107.82°)
OKLaboklab(89.94% -0.0218 0.0682)
OKLCHoklch(89.94% 0.072 107.8)
XYZxyz(65.9110, 73.5026, 49.2354)
Luminance0.7350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E2AB #ABABE2
analogous
#E2C6AB #E2E2AB #C6E2AB
triadic
#E2E2AB #ABE2E2 #E2ABE2
tetradic
#E2E2AB #ABE2C6 #ABABE2 #E2ABC6
square
#E2E2AB #ABE2C6 #ABABE2 #E2ABC6
split-complementary
#E2E2AB #ABC6E2 #C6ABE2
monochromatic
#C3C350 #D2D27E #E2E2AB #F2F2D8 #F7F7E8

Accessibility & contrast

On white

1.34
#E2E2AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.70
#E2E2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E2AB
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E2AB#FFFFFF#000000##000000
##E2E2AB1.001.3415.7015.70
#FFFFFF1.341.0021.0021.00
#00000015.7021.001.001.00
##00000015.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDDA7
Deuteranopia (green-blind)
#ECE0AD
Tritanopia (blue-blind)
#EADBD3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e2ab;
/* rgb */ color: rgb(226, 226, 171);
/* oklch */ color: oklch(89.9% 0.072 107.8);
Tailwind
colors: {
  custom: {
    50: '#ebebc4',
    500: '#e2e2ab',
    950: '#000000',
  },
}
SCSS
$custom: #e2e2ab;
$custom-light: #ebebc4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e2ab",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 171
  },
  "hsl": {
    "h": 60,
    "s": 48.673,
    "l": 77.843
  },
  "oklch": {
    "l": 0.8994,
    "c": 0.07159,
    "h": 107.8
  },
  "luminance": 0.73502
}

Semantic roles & 50–950 ramp

primary
#E2E2AB
secondary
#7676BB
accent
#2ABC2A
background
#FEFEFD
surface
#FDFDF9
border
#D5D5D2
text
#161612
muted
#848482

Preview Lab

Preview with #E2E2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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