#E2E97E#E2E97E

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

Color values

HEX#E2E97E
RGBrgb(226, 233, 126)
HSLhsl(64, 71%, 70%)
HSVhsv(64, 46%, 91%)
CMYKcmyk(3%, 0%, 45.9%, 8.6%)
CIE-LABlab(89.84, -17.34, 50.89)
CIE-LCHlch(89.84, 53.77, 108.81°)
OKLaboklab(90.64% -0.0492 0.1216)
OKLCHoklch(90.64% 0.131 112)
XYZxyz(64.2699, 75.9541, 31.0096)
Luminance0.7595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E97E #857EE9
analogous
#E9BA7E #E2E97E #ACE97E
triadic
#E2E97E #7EE2E9 #E97EE2
tetradic
#E2E97E #7EE9BA #857EE9 #E97EAC
square
#E2E97E #7EE9BA #857EE9 #E97EAC
split-complementary
#E2E97E #7EACE9 #BA7EE9
monochromatic
#BFCA22 #D6E04A #E2E97E #EEF2B2 #F9FBE5

Accessibility & contrast

On white

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

On black

16.19
#E2E97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E97E
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E97E#FFFFFF#000000##000000
##E2E97E1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e97e;
/* rgb */ color: rgb(226, 233, 126);
/* oklch */ color: oklch(90.6% 0.131 112.0);
Tailwind
colors: {
  custom: {
    50: '#edefa5',
    500: '#e2e97e',
    950: '#000000',
  },
}
SCSS
$custom: #e2e97e;
$custom-light: #edefa5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e97e",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 63.925,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90635,
    "c": 0.13119,
    "h": 112
  },
  "luminance": 0.75953
}

Semantic roles & 50–950 ramp

primary
#E2E97E
secondary
#5149C2
accent
#13D31F
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #E2E97E

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

Preview Lab → · Contrast checker → · Palette generator →

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