#E2ED97#E2ED97

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

Color values

HEX#E2ED97
RGBrgb(226, 237, 151)
HSLhsl(68, 70%, 76%)
HSVhsv(68, 36%, 93%)
CMYKcmyk(4.6%, 0%, 36.3%, 7.1%)
CIE-LABlab(91.22, -16.66, 40.47)
CIE-LCHlch(91.22, 43.77, 112.37°)
OKLaboklab(91.85% -0.0454 0.0995)
OKLCHoklch(91.85% 0.109 114.5)
XYZxyz(67.2345, 78.9722, 40.9734)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ED97 #A297ED
analogous
#EDCD97 #E2ED97 #B7ED97
triadic
#E2ED97 #97E2ED #ED97E2
tetradic
#E2ED97 #97EDCD #A297ED #ED97B7
square
#E2ED97 #97EDCD #A297ED #ED97B7
split-complementary
#E2ED97 #97B7ED #CD97ED
monochromatic
#C5DB2F #D3E463 #E2ED97 #F1F6CB #F8FAE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2ED97#FFFFFF#000000##000000
##E2ED971.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)
#F9E591
Deuteranopia (green-blind)
#F8E79B
Tritanopia (blue-blind)
#EBE4D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e2ed97;
/* rgb */ color: rgb(226, 237, 151);
/* oklch */ color: oklch(91.8% 0.109 114.5);
Tailwind
colors: {
  custom: {
    50: '#ecf2b6',
    500: '#e2ed97',
    950: '#000000',
  },
}
SCSS
$custom: #e2ed97;
$custom-light: #ecf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ed97",
  "rgb": {
    "r": 226,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 67.674,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91847,
    "c": 0.10934,
    "h": 114.5
  },
  "luminance": 0.78971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2ED97

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

Preview Lab → · Contrast checker → · Palette generator →

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