#E2EB97#E2EB97

#E2EB97 is a very light, moderate yellow. Relative luminance 0.778; OKLCH L 91.4% C 0.107 H 113.5°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#E2EB97
RGBrgb(226, 235, 151)
HSLhsl(66, 68%, 76%)
HSVhsv(66, 36%, 92%)
CMYKcmyk(3.8%, 0%, 35.7%, 7.8%)
CIE-LABlab(90.70, -15.67, 39.80)
CIE-LCHlch(90.70, 42.77, 111.50°)
OKLaboklab(91.43% -0.0426 0.0979)
OKLCHoklch(91.43% 0.107 113.5)
XYZxyz(66.6586, 77.8206, 40.7815)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EB97 #A097EB
analogous
#EBCA97 #E2EB97 #B8EB97
triadic
#E2EB97 #97E2EB #EB97E2
tetradic
#E2EB97 #97EBCA #A097EB #EB97B8
square
#E2EB97 #97EBCA #A097EB #EB97B8
split-complementary
#E2EB97 #97B8EB #CA97EB
monochromatic
#C5D730 #D4E164 #E2EB97 #F0F5CA #F8FAE5

Accessibility & contrast

On white

1.27
#E2EB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#E2EB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EB97
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EB97#FFFFFF#000000##000000
##E2EB971.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E391
Deuteranopia (green-blind)
#F6E59B
Tritanopia (blue-blind)
#ECE2D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e2eb97;
/* rgb */ color: rgb(226, 235, 151);
/* oklch */ color: oklch(91.4% 0.107 113.5);
Tailwind
colors: {
  custom: {
    50: '#ecf1b6',
    500: '#e2eb97',
    950: '#000000',
  },
}
SCSS
$custom: #e2eb97;
$custom-light: #ecf1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2eb97",
  "rgb": {
    "r": 226,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 66.429,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.9143,
    "c": 0.10677,
    "h": 113.5
  },
  "luminance": 0.7782
}

Semantic roles & 50–950 ramp

primary
#E2EB97
secondary
#6B60C6
accent
#16D02A
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2EB97

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

Preview Lab → · Contrast checker → · Palette generator →

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