#E4E97F#E4E97F

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

Color values

HEX#E4E97F
RGBrgb(228, 233, 127)
HSLhsl(63, 71%, 71%)
HSVhsv(63, 45%, 91%)
CMYKcmyk(2.1%, 0%, 45.5%, 8.6%)
CIE-LABlab(90.00, -16.46, 50.65)
CIE-LCHlch(90.00, 53.26, 108.00°)
OKLaboklab(90.81% -0.0467 0.1211)
OKLCHoklch(90.81% 0.13 111.1)
XYZxyz(64.9657, 76.3053, 31.3807)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E97F #847FE9
analogous
#E9B97F #E4E97F #AFE97F
triadic
#E4E97F #7FE4E9 #E97FE4
tetradic
#E4E97F #7FE9B9 #847FE9 #E97FAF
square
#E4E97F #7FE9B9 #847FE9 #E97FAF
split-complementary
#E4E97F #7FAFE9 #B97FE9
monochromatic
#C3CB23 #D9E04B #E4E97F #EFF2B3 #F9FBE5

Accessibility & contrast

On white

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

On black

16.26
#E4E97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E97F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E97F#FFFFFF#000000##000000
##E4E97F1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E176
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#F0DED0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e97f;
/* rgb */ color: rgb(228, 233, 127);
/* oklch */ color: oklch(90.8% 0.130 111.1);
Tailwind
colors: {
  custom: {
    50: '#eeefa6',
    500: '#e4e97f',
    950: '#000000',
  },
}
SCSS
$custom: #e4e97f;
$custom-light: #eeefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e97f",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 62.83,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90806,
    "c": 0.12983,
    "h": 111.1
  },
  "luminance": 0.76304
}

Semantic roles & 50–950 ramp

primary
#E4E97F
secondary
#504AC2
accent
#13D31C
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E4E97F

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

Preview Lab → · Contrast checker → · Palette generator →

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