#E2DF78#E2DF78

#E2DF78 is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.5% C 0.126 H 107.2°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#E2DF78
RGBrgb(226, 223, 120)
HSLhsl(58, 65%, 68%)
HSVhsv(58, 47%, 89%)
CMYKcmyk(0%, 1.3%, 46.9%, 11.4%)
CIE-LABlab(87.14, -12.96, 50.48)
CIE-LCHlch(87.14, 52.12, 104.40°)
OKLaboklab(88.47% -0.0373 0.1203)
OKLCHoklch(88.47% 0.126 107.2)
XYZxyz(61.1432, 70.3017, 28.1144)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF78 #787BE2
analogous
#E2AA78 #E2DF78 #B0E278
triadic
#E2DF78 #78E2DF #DF78E2
tetradic
#E2DF78 #78E2AA #787BE2 #E278B0
square
#E2DF78 #78E2AA #787BE2 #E278B0
split-complementary
#E2DF78 #78B0E2 #AA78E2
monochromatic
#B8B428 #D7D346 #E2DF78 #EDEBAA #F8F7DD

Accessibility & contrast

On white

1.39
#E2DF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#E2DF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF78
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF78#FFFFFF#000000##000000
##E2DF781.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86F
Deuteranopia (green-blind)
#F0DC7D
Tritanopia (blue-blind)
#EFD4C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df78;
/* rgb */ color: rgb(226, 223, 120);
/* oklch */ color: oklch(88.5% 0.126 107.2);
Tailwind
colors: {
  custom: {
    50: '#ede8a1',
    500: '#e2df78',
    950: '#000000',
  },
}
SCSS
$custom: #e2df78;
$custom-light: #ede8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df78",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 58.302,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88467,
    "c": 0.1259,
    "h": 107.2
  },
  "luminance": 0.703
}

Semantic roles & 50–950 ramp

primary
#E2DF78
secondary
#4649B9
accent
#1ECC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E2DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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