#E4EA52#E4EA52

#E4EA52 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#E4EA52
RGBrgb(228, 234, 82)
HSLhsl(62, 78%, 62%)
HSVhsv(62, 65%, 92%)
CMYKcmyk(2.6%, 0%, 65%, 8.2%)
CIE-LABlab(89.84, -20.37, 70.08)
CIE-LCHlch(89.84, 72.98, 106.21°)
OKLaboklab(90.54% -0.0623 0.1579)
OKLCHoklch(90.54% 0.17 111.5)
XYZxyz(62.9426, 75.9503, 19.3252)
Luminance0.7595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4EA52 #5852EA
analogous
#EAA452 #E4EA52 #98EA52
triadic
#E4EA52 #52E4EA #EA52E4
tetradic
#E4EA52 #52EAA4 #5852EA #EA5298
square
#E4EA52 #52EAA4 #5852EA #EA5298
split-complementary
#E4EA52 #5298EA #A452EA
monochromatic
#A7AD15 #DBE31C #E4EA52 #EDF189 #F5F7BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4EA52#FFFFFF#000000##000000
##E4EA521.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)
#FBE03D
Deuteranopia (green-blind)
#FCE45C
Tritanopia (blue-blind)
#F3DCCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4ea52;
/* rgb */ color: rgb(228, 234, 82);
/* oklch */ color: oklch(90.5% 0.170 111.5);
Tailwind
colors: {
  custom: {
    50: '#f0f08a',
    500: '#e4ea52',
    950: '#000000',
  },
}
SCSS
$custom: #e4ea52;
$custom-light: #f0f08a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4ea52",
  "rgb": {
    "r": 228,
    "g": 234,
    "b": 82
  },
  "hsl": {
    "h": 62.368,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.90537,
    "c": 0.16972,
    "h": 111.5
  },
  "luminance": 0.75949
}

Semantic roles & 50–950 ramp

primary
#E4EA52
secondary
#3733AE
accent
#0BDB13
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E4EA52

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

Preview Lab → · Contrast checker → · Palette generator →

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