#E2E97F#E2E97F

#E2E97F is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.6% C 0.130 H 112.0°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#E2E97F
RGBrgb(226, 233, 127)
HSLhsl(64, 71%, 71%)
HSVhsv(64, 45%, 91%)
CMYKcmyk(3%, 0%, 45.5%, 8.6%)
CIE-LABlab(89.85, -17.24, 50.43)
CIE-LCHlch(89.85, 53.30, 108.87°)
OKLaboklab(90.65% -0.0489 0.1207)
OKLCHoklch(90.65% 0.13 112)
XYZxyz(64.3347, 75.9800, 31.3511)
Luminance0.7598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E97F #867FE9
analogous
#E9BB7F #E2E97F #ADE97F
triadic
#E2E97F #7FE2E9 #E97FE2
tetradic
#E2E97F #7FE9BB #867FE9 #E97FAD
square
#E2E97F #7FE9BB #867FE9 #E97FAD
split-complementary
#E2E97F #7FADE9 #BB7FE9
monochromatic
#C0CB23 #D6E04B #E2E97F #EEF2B3 #F9FBE5

Accessibility & contrast

On white

1.30
#E2E97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#E2E97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E97F
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E97F#FFFFFF#000000##000000
##E2E97F1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E076
Deuteranopia (green-blind)
#F7E384
Tritanopia (blue-blind)
#EEDED0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e2e97f;
/* rgb */ color: rgb(226, 233, 127);
/* oklch */ color: oklch(90.6% 0.130 112.0);
Tailwind
colors: {
  custom: {
    50: '#edefa6',
    500: '#e2e97f',
    950: '#000000',
  },
}
SCSS
$custom: #e2e97f;
$custom-light: #edefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e97f",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 63.962,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90649,
    "c": 0.13018,
    "h": 112
  },
  "luminance": 0.75979
}

Semantic roles & 50–950 ramp

primary
#E2E97F
secondary
#524AC2
accent
#13D31F
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #E2E97F

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

Preview Lab → · Contrast checker → · Palette generator →

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