#E7DE78#E7DE78

#E7DE78 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.7% C 0.125 H 104.1°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#E7DE78
RGBrgb(231, 222, 120)
HSLhsl(55, 70%, 69%)
HSVhsv(55, 48%, 91%)
CMYKcmyk(0%, 3.9%, 48.1%, 9.4%)
CIE-LABlab(87.29, -10.47, 50.74)
CIE-LCHlch(87.29, 51.81, 101.66°)
OKLaboklab(88.68% -0.0304 0.1208)
OKLCHoklch(88.68% 0.125 104.1)
XYZxyz(62.4680, 70.5894, 28.1002)
Luminance0.7059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DE78 #7881E7
analogous
#E7A778 #E7DE78 #B9E778
triadic
#E7DE78 #78E7DE #DE78E7
tetradic
#E7DE78 #78E7A7 #7881E7 #E778B9
square
#E7DE78 #78E7A7 #7881E7 #E778B9
split-complementary
#E7DE78 #78B9E7 #A778E7
monochromatic
#C2B523 #DED144 #E7DE78 #F0EBAC #F9F7E0

Accessibility & contrast

On white

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

On black

15.12
#E7DE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DE78
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DE78#FFFFFF#000000##000000
##E7DE781.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86F
Deuteranopia (green-blind)
#F1DD7D
Tritanopia (blue-blind)
#F5D2C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e7de78;
/* rgb */ color: rgb(231, 222, 120);
/* oklch */ color: oklch(88.7% 0.125 104.1);
Tailwind
colors: {
  custom: {
    50: '#f1e8a1',
    500: '#e7de78',
    950: '#000000',
  },
}
SCSS
$custom: #e7de78;
$custom-light: #f1e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7de78",
  "rgb": {
    "r": 231,
    "g": 222,
    "b": 120
  },
  "hsl": {
    "h": 55.135,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88676,
    "c": 0.12453,
    "h": 104.1
  },
  "luminance": 0.70588
}

Semantic roles & 50–950 ramp

primary
#E7DE78
secondary
#444EBF
accent
#23D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7DE78

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

Preview Lab → · Contrast checker → · Palette generator →

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