#E4E878#E4E878

#E4E878 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.5% C 0.136 H 110.6°. Best body text is #000000 at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#E4E878
RGBrgb(228, 232, 120)
HSLhsl(62, 71%, 69%)
HSVhsv(62, 48%, 91%)
CMYKcmyk(1.7%, 0%, 48.3%, 9%)
CIE-LABlab(89.66, -16.62, 53.54)
CIE-LCHlch(89.66, 56.06, 107.24°)
OKLaboklab(90.51% -0.0478 0.1269)
OKLCHoklch(90.51% 0.136 110.6)
XYZxyz(64.2430, 75.5646, 28.9669)
Luminance0.7556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E878 #7C78E8
analogous
#E8B478 #E4E878 #ACE878
triadic
#E4E878 #78E4E8 #E878E4
tetradic
#E4E878 #78E8B4 #7C78E8 #E878AC
square
#E4E878 #78E8B4 #7C78E8 #E878AC
split-complementary
#E4E878 #78ACE8 #B478E8
monochromatic
#BEC421 #DADF44 #E4E878 #EEF1AC #F9FAE1

Accessibility & contrast

On white

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

On black

16.11
#E4E878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E878
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E878#FFFFFF#000000##000000
##E4E8781.001.3016.1116.11
#FFFFFF1.301.0021.0021.00
#00000016.1121.001.001.00
##00000016.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E06E
Deuteranopia (green-blind)
#F8E37E
Tritanopia (blue-blind)
#F1DCCE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e878;
/* rgb */ color: rgb(228, 232, 120);
/* oklch */ color: oklch(90.5% 0.136 110.6);
Tailwind
colors: {
  custom: {
    50: '#eeefa1',
    500: '#e4e878',
    950: '#000000',
  },
}
SCSS
$custom: #e4e878;
$custom-light: #eeefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e878",
  "rgb": {
    "r": 228,
    "g": 232,
    "b": 120
  },
  "hsl": {
    "h": 62.143,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90505,
    "c": 0.13564,
    "h": 110.6
  },
  "luminance": 0.75563
}

Semantic roles & 50–950 ramp

primary
#E4E878
secondary
#4944C0
accent
#13D319
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E4E878

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

Preview Lab → · Contrast checker → · Palette generator →

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