#E2EC97#E2EC97

#E2EC97 is a very light, moderate yellow. Relative luminance 0.784; OKLCH L 91.6% C 0.108 H 114.0°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#E2EC97
RGBrgb(226, 236, 151)
HSLhsl(67, 69%, 76%)
HSVhsv(67, 36%, 93%)
CMYKcmyk(4.2%, 0%, 36%, 7.5%)
CIE-LABlab(90.96, -16.17, 40.13)
CIE-LCHlch(90.96, 43.27, 111.94°)
OKLaboklab(91.64% -0.044 0.0987)
OKLCHoklch(91.64% 0.108 114)
XYZxyz(66.9457, 78.3948, 40.8772)
Luminance0.7839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC97 #A197EC
analogous
#ECCB97 #E2EC97 #B7EC97
triadic
#E2EC97 #97E2EC #EC97E2
tetradic
#E2EC97 #97ECCB #A197EC #EC97B7
square
#E2EC97 #97ECCB #A197EC #EC97B7
split-complementary
#E2EC97 #97B7EC #CB97EC
monochromatic
#C5D930 #D4E363 #E2EC97 #F0F5CB #F8FAE5

Accessibility & contrast

On white

1.26
#E2EC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#E2EC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC97
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC97#FFFFFF#000000##000000
##E2EC971.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E491
Deuteranopia (green-blind)
#F7E69B
Tritanopia (blue-blind)
#ECE3D7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e2ec97;
/* rgb */ color: rgb(226, 236, 151);
/* oklch */ color: oklch(91.6% 0.108 114.0);
Tailwind
colors: {
  custom: {
    50: '#ecf2b6',
    500: '#e2ec97',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec97;
$custom-light: #ecf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec97",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 67.059,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.91638,
    "c": 0.10805,
    "h": 114
  },
  "luminance": 0.78394
}

Semantic roles & 50–950 ramp

primary
#E2EC97
secondary
#6C60C8
accent
#14D12B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2EC97

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

Preview Lab → · Contrast checker → · Palette generator →

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