#E7D778#E7D778

#E7D778 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.2% C 0.118 H 99.9°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E7D778
RGBrgb(231, 215, 120)
HSLhsl(51, 70%, 69%)
HSVhsv(51, 48%, 91%)
CMYKcmyk(0%, 6.9%, 48.1%, 9.4%)
CIE-LABlab(85.48, -6.95, 48.55)
CIE-LCHlch(85.48, 49.05, 98.15°)
OKLaboklab(87.24% -0.0203 0.1159)
OKLCHoklch(87.24% 0.118 99.9)
XYZxyz(60.6473, 66.9480, 27.4933)
Luminance0.6695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D778 #7888E7
analogous
#E7A078 #E7D778 #C0E778
triadic
#E7D778 #78E7D7 #D778E7
tetradic
#E7D778 #78E7A0 #7888E7 #E778C0
square
#E7D778 #78E7A0 #7888E7 #E778C0
split-complementary
#E7D778 #78C0E7 #A078E7
monochromatic
#C2AB23 #DEC844 #E7D778 #F0E6AC #F9F6E0

Accessibility & contrast

On white

1.46
#E7D778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#E7D778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D778
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D778#FFFFFF#000000##000000
##E7D7781.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D270
Deuteranopia (green-blind)
#ECD87C
Tritanopia (blue-blind)
#F6CBC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d778;
/* rgb */ color: rgb(231, 215, 120);
/* oklch */ color: oklch(87.2% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#f1e3a1',
    500: '#e7d778',
    950: '#000000',
  },
}
SCSS
$custom: #e7d778;
$custom-light: #f1e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d778",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 51.351,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87242,
    "c": 0.11768,
    "h": 99.9
  },
  "luminance": 0.66946
}

Semantic roles & 50–950 ramp

primary
#E7D778
secondary
#4456BF
accent
#2FD214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D778

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

Preview Lab → · Contrast checker → · Palette generator →

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