#E7DF78#E7DF78

#E7DF78 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.9% C 0.126 H 104.7°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#E7DF78
RGBrgb(231, 223, 120)
HSLhsl(56, 70%, 69%)
HSVhsv(56, 48%, 91%)
CMYKcmyk(0%, 3.5%, 48.1%, 9.4%)
CIE-LABlab(87.54, -10.97, 51.06)
CIE-LCHlch(87.54, 52.22, 102.13°)
OKLaboklab(88.88% -0.0319 0.1215)
OKLCHoklch(88.88% 0.126 104.7)
XYZxyz(62.7344, 71.1222, 28.1890)
Luminance0.7112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF78 #7880E7
analogous
#E7A878 #E7DF78 #B8E778
triadic
#E7DF78 #78E7DF #DF78E7
tetradic
#E7DF78 #78E7A8 #7880E7 #E778B8
square
#E7DF78 #78E7A8 #7880E7 #E778B8
split-complementary
#E7DF78 #78B8E7 #A878E7
monochromatic
#C2B723 #DED344 #E7DF78 #F0EBAC #F9F8E0

Accessibility & contrast

On white

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

On black

15.22
#E7DF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF78
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF78#FFFFFF#000000##000000
##E7DF781.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7df78;
/* rgb */ color: rgb(231, 223, 120);
/* oklch */ color: oklch(88.9% 0.126 104.7);
Tailwind
colors: {
  custom: {
    50: '#f1e8a1',
    500: '#e7df78',
    950: '#000000',
  },
}
SCSS
$custom: #e7df78;
$custom-light: #f1e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df78",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 55.676,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88881,
    "c": 0.12556,
    "h": 104.7
  },
  "luminance": 0.7112
}

Semantic roles & 50–950 ramp

primary
#E7DF78
secondary
#444DBF
accent
#21D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E7DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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