#E1EC5A#E1EC5A

#E1EC5A is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 90.8% C 0.167 H 113.3°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#E1EC5A
RGBrgb(225, 236, 90)
HSLhsl(65, 79%, 64%)
HSVhsv(65, 62%, 93%)
CMYKcmyk(4.7%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.20, -22.06, 67.24)
CIE-LCHlch(90.20, 70.77, 108.16°)
OKLaboklab(90.79% -0.066 0.1531)
OKLCHoklch(90.79% 0.167 113.3)
XYZxyz(62.8939, 76.7379, 21.1696)
Luminance0.7674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1EC5A #655AEC
analogous
#ECAE5A #E1EC5A #98EC5A
triadic
#E1EC5A #5AE1EC #EC5AE1
tetradic
#E1EC5A #5AECAE #655AEC #EC5A98
square
#E1EC5A #5AECAE #655AEC #EC5A98
split-complementary
#E1EC5A #5A98EC #AE5AEC
monochromatic
#AAB715 #D7E623 #E1EC5A #EBF291 #F5F9C8

Accessibility & contrast

On white

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

On black

16.35
#E1EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1EC5A
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1EC5A#FFFFFF#000000##000000
##E1EC5A1.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE148
Deuteranopia (green-blind)
#FCE564
Tritanopia (blue-blind)
#EFDFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e1ec5a;
/* rgb */ color: rgb(225, 236, 90);
/* oklch */ color: oklch(90.8% 0.167 113.3);
Tailwind
colors: {
  custom: {
    50: '#edf28f',
    500: '#e1ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #e1ec5a;
$custom-light: #edf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#e1ec5a",
  "rgb": {
    "r": 225,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 64.521,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90792,
    "c": 0.16675,
    "h": 113.3
  },
  "luminance": 0.76737
}

Semantic roles & 50–950 ramp

primary
#E1EC5A
secondary
#3E34B6
accent
#0ADC1A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E1EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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