#E2E2AA#E2E2AA

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

Color values

HEX#E2E2AA
RGBrgb(226, 226, 170)
HSLhsl(60, 49%, 78%)
HSVhsv(60, 25%, 89%)
CMYKcmyk(0%, 0%, 24.8%, 11.4%)
CIE-LABlab(88.67, -8.81, 27.48)
CIE-LCHlch(88.67, 28.85, 107.77°)
OKLaboklab(89.92% -0.0222 0.0694)
OKLCHoklch(89.92% 0.073 107.8)
XYZxyz(65.8160, 73.4646, 48.7353)
Luminance0.7346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E2AA #AAAAE2
analogous
#E2C6AA #E2E2AA #C6E2AA
triadic
#E2E2AA #AAE2E2 #E2AAE2
tetradic
#E2E2AA #AAE2C6 #AAAAE2 #E2AAC6
square
#E2E2AA #AAE2C6 #AAAAE2 #E2AAC6
split-complementary
#E2E2AA #AAC6E2 #C6AAE2
monochromatic
#C3C34F #D2D27C #E2E2AA #F2F2D8 #F7F7E8

Accessibility & contrast

On white

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

On black

15.69
#E2E2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E2AA
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E2AA#FFFFFF#000000##000000
##E2E2AA1.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e2aa;
/* rgb */ color: rgb(226, 226, 170);
/* oklch */ color: oklch(89.9% 0.073 107.8);
Tailwind
colors: {
  custom: {
    50: '#ebebc3',
    500: '#e2e2aa',
    950: '#000000',
  },
}
SCSS
$custom: #e2e2aa;
$custom-light: #ebebc3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e2aa",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 170
  },
  "hsl": {
    "h": 60,
    "s": 49.123,
    "l": 77.647
  },
  "oklch": {
    "l": 0.8992,
    "c": 0.07283,
    "h": 107.8
  },
  "luminance": 0.73464
}

Semantic roles & 50–950 ramp

primary
#E2E2AA
secondary
#7575BB
accent
#29BC29
background
#FEFEFD
surface
#FDFDF9
border
#D5D5D2
text
#161612
muted
#848482

Preview Lab

Preview with #E2E2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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