#E5E956#E5E956

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

Color values

HEX#E5E956
RGBrgb(229, 233, 86)
HSLhsl(62, 77%, 63%)
HSVhsv(62, 63%, 91%)
CMYKcmyk(1.7%, 0%, 63.1%, 8.6%)
CIE-LABlab(89.68, -19.25, 68.38)
CIE-LCHlch(89.68, 71.04, 105.72°)
OKLaboklab(90.44% -0.0588 0.1549)
OKLCHoklch(90.44% 0.166 110.8)
XYZxyz(63.1336, 75.6093, 20.0706)
Luminance0.7561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E956 #5A56E9
analogous
#E9A456 #E5E956 #9BE956
triadic
#E5E956 #56E5E9 #E956E5
tetradic
#E5E956 #56E9A4 #5A56E9 #E9569B
square
#E5E956 #56E9A4 #5A56E9 #E9569B
split-complementary
#E5E956 #569BE9 #A456E9
monochromatic
#AAAE17 #DDE220 #E5E956 #EDF08C #F6F7C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5E956#FFFFFF#000000##000000
##E5E9561.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)
#FADF43
Deuteranopia (green-blind)
#FBE360
Tritanopia (blue-blind)
#F4DBCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e5e956;
/* rgb */ color: rgb(229, 233, 86);
/* oklch */ color: oklch(90.4% 0.166 110.8);
Tailwind
colors: {
  custom: {
    50: '#f0ef8c',
    500: '#e5e956',
    950: '#000000',
  },
}
SCSS
$custom: #e5e956;
$custom-light: #f0ef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e956",
  "rgb": {
    "r": 229,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 61.633,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90438,
    "c": 0.16564,
    "h": 110.8
  },
  "luminance": 0.75608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5E956

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

Preview Lab → · Contrast checker → · Palette generator →

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