#E8DF78#E8DF78

#E8DF78 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.0% C 0.126 H 104.2°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#E8DF78
RGBrgb(232, 223, 120)
HSLhsl(55, 71%, 69%)
HSVhsv(55, 48%, 91%)
CMYKcmyk(0%, 3.9%, 48.3%, 9%)
CIE-LABlab(87.63, -10.58, 51.17)
CIE-LCHlch(87.63, 52.25, 101.68°)
OKLaboklab(88.97% -0.0308 0.1217)
OKLCHoklch(88.97% 0.126 104.2)
XYZxyz(63.0582, 71.2891, 28.2041)
Luminance0.7129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF78 #7881E8
analogous
#E8A778 #E8DF78 #B9E878
triadic
#E8DF78 #78E8DF #DF78E8
tetradic
#E8DF78 #78E8A7 #7881E8 #E878B9
square
#E8DF78 #78E8A7 #7881E8 #E878B9
split-complementary
#E8DF78 #78B9E8 #A778E8
monochromatic
#C4B721 #DFD344 #E8DF78 #F1EBAC #FAF8E1

Accessibility & contrast

On white

1.38
#E8DF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#E8DF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF78
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF78#FFFFFF#000000##000000
##E8DF781.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD96F
Deuteranopia (green-blind)
#F2DE7D
Tritanopia (blue-blind)
#F6D3C7
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e8df78;
/* rgb */ color: rgb(232, 223, 120);
/* oklch */ color: oklch(89.0% 0.126 104.2);
Tailwind
colors: {
  custom: {
    50: '#f1e8a1',
    500: '#e8df78',
    950: '#000000',
  },
}
SCSS
$custom: #e8df78;
$custom-light: #f1e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df78",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 55.179,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88965,
    "c": 0.12552,
    "h": 104.2
  },
  "luminance": 0.71287
}

Semantic roles & 50–950 ramp

primary
#E8DF78
secondary
#444EC0
accent
#22D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E8DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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