#E4EA51#E4EA51

#E4EA51 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.5% C 0.170 H 111.5°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#E4EA51
RGBrgb(228, 234, 81)
HSLhsl(62, 78%, 62%)
HSVhsv(62, 65%, 92%)
CMYKcmyk(2.6%, 0%, 65.4%, 8.2%)
CIE-LABlab(89.83, -20.43, 70.45)
CIE-LCHlch(89.83, 73.36, 106.17°)
OKLaboklab(90.53% -0.0625 0.1585)
OKLCHoklch(90.53% 0.17 111.5)
XYZxyz(62.9048, 75.9352, 19.1263)
Luminance0.7593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4EA51 #5751EA
analogous
#EAA451 #E4EA51 #98EA51
triadic
#E4EA51 #51E4EA #EA51E4
tetradic
#E4EA51 #51EAA4 #5751EA #EA5198
square
#E4EA51 #51EAA4 #5751EA #EA5198
split-complementary
#E4EA51 #5198EA #A451EA
monochromatic
#A6AC15 #DBE21B #E4EA51 #ECF188 #F5F7BE

Accessibility & contrast

On white

1.30
#E4EA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#E4EA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4EA51
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4EA51#FFFFFF#000000##000000
##E4EA511.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE03B
Deuteranopia (green-blind)
#FCE45C
Tritanopia (blue-blind)
#F3DCCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4ea51;
/* rgb */ color: rgb(228, 234, 81);
/* oklch */ color: oklch(90.5% 0.170 111.5);
Tailwind
colors: {
  custom: {
    50: '#f0f08a',
    500: '#e4ea51',
    950: '#000000',
  },
}
SCSS
$custom: #e4ea51;
$custom-light: #f0f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ea51",
  "rgb": {
    "r": 228,
    "g": 234,
    "b": 81
  },
  "hsl": {
    "h": 62.353,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.90529,
    "c": 0.17041,
    "h": 111.5
  },
  "luminance": 0.75934
}

Semantic roles & 50–950 ramp

primary
#E4EA51
secondary
#3732AD
accent
#0BDB13
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E4EA51

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

Preview Lab → · Contrast checker → · Palette generator →

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