#E4E957#E4E957

#E4E957 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.4% C 0.165 H 111.2°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#E4E957
RGBrgb(228, 233, 87)
HSLhsl(62, 77%, 63%)
HSVhsv(62, 63%, 91%)
CMYKcmyk(2.1%, 0%, 62.7%, 8.6%)
CIE-LABlab(89.61, -19.59, 67.89)
CIE-LCHlch(89.61, 70.66, 106.10°)
OKLaboklab(90.37% -0.0596 0.154)
OKLCHoklch(90.37% 0.165 111.2)
XYZxyz(62.8560, 75.4614, 20.2694)
Luminance0.7546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E957 #5C57E9
analogous
#E9A557 #E4E957 #9BE957
triadic
#E4E957 #57E4E9 #E957E4
tetradic
#E4E957 #57E9A5 #5C57E9 #E9579B
square
#E4E957 #57E9A5 #5C57E9 #E9579B
split-complementary
#E4E957 #579BE9 #A557E9
monochromatic
#AAAF17 #DBE221 #E4E957 #EDF08D #F5F7C3

Accessibility & contrast

On white

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

On black

16.09
#E4E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E957
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E957#FFFFFF#000000##000000
##E4E9571.001.3016.0916.09
#FFFFFF1.301.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF44
Deuteranopia (green-blind)
#FBE360
Tritanopia (blue-blind)
#F3DBCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e957;
/* rgb */ color: rgb(228, 233, 87);
/* oklch */ color: oklch(90.4% 0.165 111.2);
Tailwind
colors: {
  custom: {
    50: '#f0ef8d',
    500: '#e4e957',
    950: '#000000',
  },
}
SCSS
$custom: #e4e957;
$custom-light: #f0ef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e957",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 62.055,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90367,
    "c": 0.16511,
    "h": 111.2
  },
  "luminance": 0.7546
}

Semantic roles & 50–950 ramp

primary
#E4E957
secondary
#3935AF
accent
#0CD913
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E4E957

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

Preview Lab → · Contrast checker → · Palette generator →

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