#E4E978#E4E978

#E4E978 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.7% C 0.137 H 111.1°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#E4E978
RGBrgb(228, 233, 120)
HSLhsl(63, 72%, 69%)
HSVhsv(63, 48%, 91%)
CMYKcmyk(2.1%, 0%, 48.5%, 8.6%)
CIE-LABlab(89.92, -17.11, 53.85)
CIE-LCHlch(89.92, 56.50, 107.62°)
OKLaboklab(90.72% -0.0492 0.1276)
OKLCHoklch(90.72% 0.137 111.1)
XYZxyz(64.5252, 76.1292, 29.0610)
Luminance0.7613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E978 #7D78E9
analogous
#E9B678 #E4E978 #ACE978
triadic
#E4E978 #78E4E9 #E978E4
tetradic
#E4E978 #78E9B6 #7D78E9 #E978AC
square
#E4E978 #78E9B6 #7D78E9 #E978AC
split-complementary
#E4E978 #78ACE9 #B678E9
monochromatic
#BFC620 #D9E043 #E4E978 #EFF2AD #F9FAE1

Accessibility & contrast

On white

1.29
#E4E978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#E4E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E978
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E978#FFFFFF#000000##000000
##E4E9781.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06E
Deuteranopia (green-blind)
#F9E47E
Tritanopia (blue-blind)
#F1DDCF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e978;
/* rgb */ color: rgb(228, 233, 120);
/* oklch */ color: oklch(90.7% 0.137 111.1);
Tailwind
colors: {
  custom: {
    50: '#eeefa1',
    500: '#e4e978',
    950: '#000000',
  },
}
SCSS
$custom: #e4e978;
$custom-light: #eeefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e978",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 62.655,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90715,
    "c": 0.13679,
    "h": 111.1
  },
  "luminance": 0.76128
}

Semantic roles & 50–950 ramp

primary
#E4E978
secondary
#4944C1
accent
#11D41A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E4E978

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

Preview Lab → · Contrast checker → · Palette generator →

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