#E5E957#E5E957

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

Color values

HEX#E5E957
RGBrgb(229, 233, 87)
HSLhsl(62, 77%, 63%)
HSVhsv(62, 63%, 91%)
CMYKcmyk(1.7%, 0%, 62.7%, 8.6%)
CIE-LABlab(89.69, -19.19, 67.99)
CIE-LCHlch(89.69, 70.65, 105.76°)
OKLaboklab(90.45% -0.0585 0.1542)
OKLCHoklch(90.45% 0.165 110.8)
XYZxyz(63.1742, 75.6255, 20.2843)
Luminance0.7562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E957 #5B57E9
analogous
#E9A457 #E5E957 #9CE957
triadic
#E5E957 #57E5E9 #E957E5
tetradic
#E5E957 #57E9A4 #5B57E9 #E9579C
square
#E5E957 #57E9A4 #5B57E9 #E9579C
split-complementary
#E5E957 #579CE9 #A457E9
monochromatic
#ABAF17 #DDE221 #E5E957 #EDF08D #F6F7C3

Accessibility & contrast

On white

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

On black

16.12
#E5E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E957
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E957#FFFFFF#000000##000000
##E5E9571.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5e957;
/* rgb */ color: rgb(229, 233, 87);
/* oklch */ color: oklch(90.4% 0.165 110.8);
Tailwind
colors: {
  custom: {
    50: '#f0ef8d',
    500: '#e5e957',
    950: '#000000',
  },
}
SCSS
$custom: #e5e957;
$custom-light: #f0ef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e957",
  "rgb": {
    "r": 229,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 61.644,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90446,
    "c": 0.16491,
    "h": 110.8
  },
  "luminance": 0.75624
}

Semantic roles & 50–950 ramp

primary
#E5E957
secondary
#3835AF
accent
#0CD912
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E5E957

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

Preview Lab → · Contrast checker → · Palette generator →

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