#E8DD78#E8DD78

#E8DD78 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.6% C 0.124 H 103.1°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#E8DD78
RGBrgb(232, 221, 120)
HSLhsl(54, 71%, 69%)
HSVhsv(54, 48%, 91%)
CMYKcmyk(0%, 4.7%, 48.3%, 9%)
CIE-LABlab(87.11, -9.57, 50.55)
CIE-LCHlch(87.11, 51.45, 100.72°)
OKLaboklab(88.56% -0.0279 0.1203)
OKLCHoklch(88.56% 0.124 103.1)
XYZxyz(62.5270, 70.2267, 28.0271)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DD78 #7883E8
analogous
#E8A578 #E8DD78 #BBE878
triadic
#E8DD78 #78E8DD #DD78E8
tetradic
#E8DD78 #78E8A5 #7883E8 #E878BB
square
#E8DD78 #78E8A5 #7883E8 #E878BB
split-complementary
#E8DD78 #78BBE8 #A578E8
monochromatic
#C4B421 #DFD044 #E8DD78 #F1EAAC #FAF7E1

Accessibility & contrast

On white

1.40
#E8DD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#E8DD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DD78
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DD78#FFFFFF#000000##000000
##E8DD781.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#F1DD7D
Tritanopia (blue-blind)
#F6D1C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e8dd78;
/* rgb */ color: rgb(232, 221, 120);
/* oklch */ color: oklch(88.6% 0.124 103.1);
Tailwind
colors: {
  custom: {
    50: '#f1e7a1',
    500: '#e8dd78',
    950: '#000000',
  },
}
SCSS
$custom: #e8dd78;
$custom-light: #f1e7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dd78",
  "rgb": {
    "r": 232,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 54.107,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88555,
    "c": 0.12351,
    "h": 103.1
  },
  "luminance": 0.70225
}

Semantic roles & 50–950 ramp

primary
#E8DD78
secondary
#4450C0
accent
#25D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E8DD78

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

Preview Lab → · Contrast checker → · Palette generator →

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