#E4EC5B#E4EC5B

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

Color values

HEX#E4EC5B
RGBrgb(228, 236, 91)
HSLhsl(63, 79%, 64%)
HSVhsv(63, 61%, 93%)
CMYKcmyk(3.4%, 0%, 61.4%, 7.5%)
CIE-LABlab(90.43, -20.79, 67.15)
CIE-LCHlch(90.43, 70.30, 107.20°)
OKLaboklab(91.04% -0.0626 0.153)
OKLCHoklch(91.04% 0.165 112.2)
XYZxyz(63.8804, 77.2416, 21.4395)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4EC5B #635BEC
analogous
#ECAB5B #E4EC5B #9CEC5B
triadic
#E4EC5B #5BE4EC #EC5BE4
tetradic
#E4EC5B #5BECAB #635BEC #EC5B9C
square
#E4EC5B #5BECAB #635BEC #EC5B9C
split-complementary
#E4EC5B #5B9CEC #AB5BEC
monochromatic
#AEB715 #DBE624 #E4EC5B #EDF292 #F6F9C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4EC5B#FFFFFF#000000##000000
##E4EC5B1.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)
#FDE249
Deuteranopia (green-blind)
#FDE564
Tritanopia (blue-blind)
#F2DFCE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e4ec5b;
/* rgb */ color: rgb(228, 236, 91);
/* oklch */ color: oklch(91.0% 0.165 112.2);
Tailwind
colors: {
  custom: {
    50: '#eff290',
    500: '#e4ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4ec5b;
$custom-light: #eff290;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ec5b",
  "rgb": {
    "r": 228,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 63.31,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91035,
    "c": 0.16529,
    "h": 112.2
  },
  "luminance": 0.7724
}

Semantic roles & 50–950 ramp

primary
#E4EC5B
secondary
#3C34B7
accent
#0ADC16
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E4EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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