#E2ED96#E2ED96

#E2ED96 is a very light, moderate yellow. Relative luminance 0.789; OKLCH L 91.8% C 0.110 H 114.5°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#E2ED96
RGBrgb(226, 237, 150)
HSLhsl(68, 71%, 76%)
HSVhsv(68, 37%, 93%)
CMYKcmyk(4.6%, 0%, 36.7%, 7.1%)
CIE-LABlab(91.21, -16.77, 40.95)
CIE-LCHlch(91.21, 44.25, 112.27°)
OKLaboklab(91.83% -0.0458 0.1005)
OKLCHoklch(91.83% 0.11 114.5)
XYZxyz(67.1536, 78.9399, 40.5475)
Luminance0.7894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ED96 #A196ED
analogous
#EDCC96 #E2ED96 #B6ED96
triadic
#E2ED96 #96E2ED #ED96E2
tetradic
#E2ED96 #96EDCC #A196ED #ED96B6
square
#E2ED96 #96EDCC #A196ED #ED96B6
split-complementary
#E2ED96 #96B6ED #CC96ED
monochromatic
#C5DB2E #D4E462 #E2ED96 #F0F6CA #F8FBE5

Accessibility & contrast

On white

1.25
#E2ED96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#E2ED96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ED96
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ED96#FFFFFF#000000##000000
##E2ED961.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E590
Deuteranopia (green-blind)
#F8E79A
Tritanopia (blue-blind)
#ECE4D7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e2ed96;
/* rgb */ color: rgb(226, 237, 150);
/* oklch */ color: oklch(91.8% 0.110 114.5);
Tailwind
colors: {
  custom: {
    50: '#ecf2b6',
    500: '#e2ed96',
    950: '#000000',
  },
}
SCSS
$custom: #e2ed96;
$custom-light: #ecf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ed96",
  "rgb": {
    "r": 226,
    "g": 237,
    "b": 150
  },
  "hsl": {
    "h": 67.586,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.9183,
    "c": 0.11045,
    "h": 114.5
  },
  "luminance": 0.78939
}

Semantic roles & 50–950 ramp

primary
#E2ED96
secondary
#6C5EC9
accent
#13D32B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161711
muted
#858581

Preview Lab

Preview with #E2ED96

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

Preview Lab → · Contrast checker → · Palette generator →

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