#E2DD78#E2DD78

#E2DD78 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.124 H 106.2°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#E2DD78
RGBrgb(226, 221, 120)
HSLhsl(57, 65%, 68%)
HSVhsv(57, 47%, 89%)
CMYKcmyk(0%, 2.2%, 46.9%, 11.4%)
CIE-LABlab(86.62, -11.97, 49.85)
CIE-LCHlch(86.62, 51.26, 103.50°)
OKLaboklab(88.05% -0.0344 0.1189)
OKLCHoklch(88.05% 0.124 106.2)
XYZxyz(60.6120, 69.2393, 27.9373)
Luminance0.6924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD78 #787DE2
analogous
#E2A878 #E2DD78 #B2E278
triadic
#E2DD78 #78E2DD #DD78E2
tetradic
#E2DD78 #78E2A8 #787DE2 #E278B2
square
#E2DD78 #78E2A8 #787DE2 #E278B2
split-complementary
#E2DD78 #78B2E2 #A878E2
monochromatic
#B8B128 #D7D046 #E2DD78 #EDEAAA #F8F6DD

Accessibility & contrast

On white

1.41
#E2DD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#E2DD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD78
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD78#FFFFFF#000000##000000
##E2DD781.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66F
Deuteranopia (green-blind)
#EEDB7D
Tritanopia (blue-blind)
#EFD2C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2dd78;
/* rgb */ color: rgb(226, 221, 120);
/* oklch */ color: oklch(88.1% 0.124 106.2);
Tailwind
colors: {
  custom: {
    50: '#ede7a1',
    500: '#e2dd78',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd78;
$custom-light: #ede7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd78",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 120
  },
  "hsl": {
    "h": 57.17,
    "s": 64.634,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88051,
    "c": 0.12374,
    "h": 106.2
  },
  "luminance": 0.69238
}

Semantic roles & 50–950 ramp

primary
#E2DD78
secondary
#464BB9
accent
#22CC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E2DD78

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

Preview Lab → · Contrast checker → · Palette generator →

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