#E8E778#E8E778

#E8E778 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.6% C 0.134 H 108.3°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#E8E778
RGBrgb(232, 231, 120)
HSLhsl(59, 71%, 69%)
HSVhsv(59, 48%, 91%)
CMYKcmyk(0%, 0.4%, 48.3%, 9%)
CIE-LABlab(89.70, -14.55, 53.67)
CIE-LCHlch(89.70, 55.60, 105.17°)
OKLaboklab(90.62% -0.0421 0.1272)
OKLCHoklch(90.62% 0.134 108.3)
XYZxyz(65.2463, 75.6653, 28.9335)
Luminance0.7566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E778 #7879E8
analogous
#E8AF78 #E8E778 #B1E878
triadic
#E8E778 #78E8E7 #E778E8
tetradic
#E8E778 #78E8AF #7879E8 #E878B1
square
#E8E778 #78E8AF #7879E8 #E878B1
split-complementary
#E8E778 #78B1E8 #AF78E8
monochromatic
#C4C321 #DFDE44 #E8E778 #F1F0AC #FAFAE1

Accessibility & contrast

On white

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

On black

16.13
#E8E778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E778
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E778#FFFFFF#000000##000000
##E8E7781.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6E
Deuteranopia (green-blind)
#F8E47D
Tritanopia (blue-blind)
#F6DBCD
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e8e778;
/* rgb */ color: rgb(232, 231, 120);
/* oklch */ color: oklch(90.6% 0.134 108.3);
Tailwind
colors: {
  custom: {
    50: '#f1eea1',
    500: '#e8e778',
    950: '#000000',
  },
}
SCSS
$custom: #e8e778;
$custom-light: #f1eea1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e778",
  "rgb": {
    "r": 232,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 59.464,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90618,
    "c": 0.13396,
    "h": 108.3
  },
  "luminance": 0.75664
}

Semantic roles & 50–950 ramp

primary
#E8E778
secondary
#4445C0
accent
#14D313
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E8E778

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

Preview Lab → · Contrast checker → · Palette generator →

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