#E5EC5A#E5EC5A

#E5EC5A is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.1% C 0.166 H 111.9°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#E5EC5A
RGBrgb(229, 236, 90)
HSLhsl(63, 79%, 64%)
HSVhsv(63, 62%, 93%)
CMYKcmyk(3%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.50, -20.45, 67.65)
CIE-LCHlch(90.50, 70.67, 106.82°)
OKLaboklab(91.11% -0.0618 0.1539)
OKLCHoklch(91.11% 0.166 111.9)
XYZxyz(64.1558, 77.3886, 21.2288)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5EC5A #615AEC
analogous
#ECAA5A #E5EC5A #9CEC5A
triadic
#E5EC5A #5AE5EC #EC5AE5
tetradic
#E5EC5A #5AECAA #615AEC #EC5A9C
square
#E5EC5A #5AECAA #615AEC #EC5A9C
split-complementary
#E5EC5A #5A9CEC #AA5AEC
monochromatic
#AFB715 #DCE623 #E5EC5A #EEF291 #F6F9C8

Accessibility & contrast

On white

1.27
#E5EC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#E5EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5EC5A
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5EC5A#FFFFFF#000000##000000
##E5EC5A1.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE248
Deuteranopia (green-blind)
#FDE663
Tritanopia (blue-blind)
#F4DFCE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e5ec5a;
/* rgb */ color: rgb(229, 236, 90);
/* oklch */ color: oklch(91.1% 0.166 111.9);
Tailwind
colors: {
  custom: {
    50: '#f0f28f',
    500: '#e5ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #e5ec5a;
$custom-light: #f0f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5ec5a",
  "rgb": {
    "r": 229,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 62.877,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91105,
    "c": 0.16581,
    "h": 111.9
  },
  "luminance": 0.77387
}

Semantic roles & 50–950 ramp

primary
#E5EC5A
secondary
#3A34B6
accent
#0ADC14
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E5EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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