#E1EC5B#E1EC5B

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

Color values

HEX#E1EC5B
RGBrgb(225, 236, 91)
HSLhsl(65, 79%, 64%)
HSVhsv(65, 61%, 93%)
CMYKcmyk(4.7%, 0%, 61.4%, 7.5%)
CIE-LABlab(90.21, -21.99, 66.84)
CIE-LCHlch(90.21, 70.37, 108.21°)
OKLaboklab(90.8% -0.0658 0.1524)
OKLCHoklch(90.8% 0.166 113.3)
XYZxyz(62.9367, 76.7550, 21.3953)
Luminance0.7675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1EC5B #665BEC
analogous
#ECAF5B #E1EC5B #99EC5B
triadic
#E1EC5B #5BE1EC #EC5BE1
tetradic
#E1EC5B #5BECAF #665BEC #EC5B99
square
#E1EC5B #5BECAF #665BEC #EC5B99
split-complementary
#E1EC5B #5B99EC #AF5BEC
monochromatic
#ABB715 #D7E624 #E1EC5B #EBF292 #F5F9C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E1EC5B#FFFFFF#000000##000000
##E1EC5B1.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)
#FCE149
Deuteranopia (green-blind)
#FCE564
Tritanopia (blue-blind)
#EFDFCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e1ec5b;
/* rgb */ color: rgb(225, 236, 91);
/* oklch */ color: oklch(90.8% 0.166 113.3);
Tailwind
colors: {
  custom: {
    50: '#edf28f',
    500: '#e1ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #e1ec5b;
$custom-light: #edf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#e1ec5b",
  "rgb": {
    "r": 225,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 64.552,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90801,
    "c": 0.166,
    "h": 113.3
  },
  "luminance": 0.76754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E1EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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