#E4E97C#E4E97C

#E4E97C is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.8% C 0.133 H 111.1°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#E4E97C
RGBrgb(228, 233, 124)
HSLhsl(63, 71%, 70%)
HSVhsv(63, 47%, 91%)
CMYKcmyk(2.1%, 0%, 46.8%, 8.6%)
CIE-LABlab(89.97, -16.74, 52.03)
CIE-LCHlch(89.97, 54.66, 107.84°)
OKLaboklab(90.77% -0.0478 0.1239)
OKLCHoklch(90.77% 0.133 111.1)
XYZxyz(64.7731, 76.2283, 30.3663)
Luminance0.7623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E97C #817CE9
analogous
#E9B77C #E4E97C #AEE97C
triadic
#E4E97C #7CE4E9 #E97CE4
tetradic
#E4E97C #7CE9B7 #817CE9 #E97CAE
square
#E4E97C #7CE9B7 #817CE9 #E97CAE
split-complementary
#E4E97C #7CAEE9 #B77CE9
monochromatic
#C1C922 #D9E048 #E4E97C #EFF2B0 #FAFBE5

Accessibility & contrast

On white

1.29
#E4E97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#E4E97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E97C
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E97C#FFFFFF#000000##000000
##E4E97C1.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E172
Deuteranopia (green-blind)
#F8E481
Tritanopia (blue-blind)
#F1DED0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e97c;
/* rgb */ color: rgb(228, 233, 124);
/* oklch */ color: oklch(90.8% 0.133 111.1);
Tailwind
colors: {
  custom: {
    50: '#eeefa4',
    500: '#e4e97c',
    950: '#000000',
  },
}
SCSS
$custom: #e4e97c;
$custom-light: #eeefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e97c",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 62.752,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.90766,
    "c": 0.13285,
    "h": 111.1
  },
  "luminance": 0.76227
}

Semantic roles & 50–950 ramp

primary
#E4E97C
secondary
#4D48C2
accent
#12D31B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E4E97C

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

Preview Lab → · Contrast checker → · Palette generator →

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