#E2E97A#E2E97A

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

Color values

HEX#E2E97A
RGBrgb(226, 233, 122)
HSLhsl(64, 72%, 70%)
HSVhsv(64, 48%, 91%)
CMYKcmyk(3%, 0%, 47.6%, 8.6%)
CIE-LABlab(89.79, -17.71, 52.72)
CIE-LCHlch(89.79, 55.62, 108.57°)
OKLaboklab(90.58% -0.0506 0.1253)
OKLCHoklch(90.58% 0.135 112)
XYZxyz(64.0169, 75.8529, 29.6773)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E97A #817AE9
analogous
#E9B97A #E2E97A #ABE97A
triadic
#E2E97A #7AE2E9 #E97AE2
tetradic
#E2E97A #7AE9B9 #817AE9 #E97AAB
square
#E2E97A #7AE9B9 #817AE9 #E97AAB
split-complementary
#E2E97A #7AABE9 #B97AE9
monochromatic
#BDC821 #D7E045 #E2E97A #EDF2AF #F9FAE3

Accessibility & contrast

On white

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

On black

16.17
#E2E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E97A
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E97A#FFFFFF#000000##000000
##E2E97A1.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#F8E380
Tritanopia (blue-blind)
#EEDECF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e2e97a;
/* rgb */ color: rgb(226, 233, 122);
/* oklch */ color: oklch(90.6% 0.135 112.0);
Tailwind
colors: {
  custom: {
    50: '#edefa3',
    500: '#e2e97a',
    950: '#000000',
  },
}
SCSS
$custom: #e2e97a;
$custom-light: #edefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e97a",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 63.784,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90582,
    "c": 0.13519,
    "h": 112
  },
  "luminance": 0.75852
}

Semantic roles & 50–950 ramp

primary
#E2E97A
secondary
#4E46C1
accent
#12D41E
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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