#E5EC51#E5EC51

#E5EC51 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.0% C 0.172 H 111.9°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#E5EC51
RGBrgb(229, 236, 81)
HSLhsl(63, 80%, 62%)
HSVhsv(63, 66%, 93%)
CMYKcmyk(3%, 0%, 65.7%, 7.5%)
CIE-LABlab(90.43, -20.99, 71.10)
CIE-LCHlch(90.43, 74.13, 106.45°)
OKLaboklab(91.03% -0.0642 0.1598)
OKLCHoklch(91.03% 0.172 111.9)
XYZxyz(63.7957, 77.2445, 19.3321)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5EC51 #5851EC
analogous
#ECA651 #E5EC51 #97EC51
triadic
#E5EC51 #51E5EC #EC51E5
tetradic
#E5EC51 #51ECA6 #5851EC #EC5197
square
#E5EC51 #51ECA6 #5851EC #EC5197
split-complementary
#E5EC51 #5197EC #A651EC
monochromatic
#A8AF13 #DDE61A #E5EC51 #EDF288 #F5F8BF

Accessibility & contrast

On white

1.28
#E5EC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#E5EC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5EC51
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5EC51#FFFFFF#000000##000000
##E5EC511.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE23B
Deuteranopia (green-blind)
#FEE65C
Tritanopia (blue-blind)
#F4DECD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e5ec51;
/* rgb */ color: rgb(229, 236, 81);
/* oklch */ color: oklch(91.0% 0.172 111.9);
Tailwind
colors: {
  custom: {
    50: '#f1f18a',
    500: '#e5ec51',
    950: '#000000',
  },
}
SCSS
$custom: #e5ec51;
$custom-light: #f1f18a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ec51",
  "rgb": {
    "r": 229,
    "g": 236,
    "b": 81
  },
  "hsl": {
    "h": 62.71,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.91031,
    "c": 0.17224,
    "h": 111.9
  },
  "luminance": 0.77243
}

Semantic roles & 50–950 ramp

primary
#E5EC51
secondary
#3731B0
accent
#09DD12
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E5EC51

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

Preview Lab → · Contrast checker → · Palette generator →

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