#E4EC5F#E4EC5F

#E4EC5F is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.1% C 0.162 H 112.2°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#E4EC5F
RGBrgb(228, 236, 95)
HSLhsl(63, 79%, 65%)
HSVhsv(63, 60%, 93%)
CMYKcmyk(3.4%, 0%, 59.7%, 7.5%)
CIE-LABlab(90.47, -20.53, 65.54)
CIE-LCHlch(90.47, 68.68, 107.39°)
OKLaboklab(91.07% -0.0614 0.1501)
OKLCHoklch(91.07% 0.162 112.2)
XYZxyz(64.0576, 77.3125, 22.3726)
Luminance0.7731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4EC5F #675FEC
analogous
#ECAD5F #E4EC5F #9EEC5F
triadic
#E4EC5F #5FE4EC #EC5FE4
tetradic
#E4EC5F #5FECAD #675FEC #EC5F9E
square
#E4EC5F #5FECAD #675FEC #EC5F9E
split-complementary
#E4EC5F #5F9EEC #AD5FEC
monochromatic
#B1BA16 #DBE628 #E4EC5F #EDF296 #F6F9CC

Accessibility & contrast

On white

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

On black

16.46
#E4EC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4EC5F
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4EC5F#FFFFFF#000000##000000
##E4EC5F1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE24E
Deuteranopia (green-blind)
#FDE568
Tritanopia (blue-blind)
#F2DFCE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e4ec5f;
/* rgb */ color: rgb(228, 236, 95);
/* oklch */ color: oklch(91.1% 0.162 112.2);
Tailwind
colors: {
  custom: {
    50: '#eff292',
    500: '#e4ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4ec5f;
$custom-light: #eff292;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ec5f",
  "rgb": {
    "r": 228,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 63.404,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91072,
    "c": 0.16219,
    "h": 112.2
  },
  "luminance": 0.77311
}

Semantic roles & 50–950 ramp

primary
#E4EC5F
secondary
#3D36BA
accent
#0ADB16
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E4EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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