#E1E97C#E1E97C

#E1E97C is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.5% C 0.133 H 112.5°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#E1E97C
RGBrgb(225, 233, 124)
HSLhsl(64, 71%, 70%)
HSVhsv(64, 47%, 91%)
CMYKcmyk(3.4%, 0%, 46.8%, 8.6%)
CIE-LABlab(89.74, -17.92, 51.70)
CIE-LCHlch(89.74, 54.72, 109.11°)
OKLaboklab(90.53% -0.051 0.1233)
OKLCHoklch(90.53% 0.133 112.5)
XYZxyz(63.8294, 75.7417, 30.3220)
Luminance0.7574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1E97C #847CE9
analogous
#E9BB7C #E1E97C #AAE97C
triadic
#E1E97C #7CE1E9 #E97CE1
tetradic
#E1E97C #7CE9BB #847CE9 #E97CAA
square
#E1E97C #7CE9BB #847CE9 #E97CAA
split-complementary
#E1E97C #7CAAE9 #BB7CE9
monochromatic
#BDC922 #D5E048 #E1E97C #EDF2B0 #F9FBE5

Accessibility & contrast

On white

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

On black

16.15
#E1E97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1E97C
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1E97C#FFFFFF#000000##000000
##E1E97C1.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E073
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#EDDED0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e1e97c;
/* rgb */ color: rgb(225, 233, 124);
/* oklch */ color: oklch(90.5% 0.133 112.5);
Tailwind
colors: {
  custom: {
    50: '#ecefa4',
    500: '#e1e97c',
    950: '#000000',
  },
}
SCSS
$custom: #e1e97c;
$custom-light: #ecefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#e1e97c",
  "rgb": {
    "r": 225,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 64.404,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.9053,
    "c": 0.13339,
    "h": 112.5
  },
  "luminance": 0.75741
}

Semantic roles & 50–950 ramp

primary
#E1E97C
secondary
#5148C2
accent
#12D320
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #E1E97C

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

Preview Lab → · Contrast checker → · Palette generator →

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