#E7D178#E7D178

#E7D178 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 86.0% C 0.112 H 95.9°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#E7D178
RGBrgb(231, 209, 120)
HSLhsl(48, 70%, 69%)
HSVhsv(48, 48%, 91%)
CMYKcmyk(0%, 9.5%, 48.1%, 9.4%)
CIE-LABlab(83.94, -3.89, 46.67)
CIE-LCHlch(83.94, 46.83, 94.77°)
OKLaboklab(86.02% -0.0115 0.1118)
OKLCHoklch(86.02% 0.112 95.9)
XYZxyz(59.1474, 63.9482, 26.9933)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D178 #788EE7
analogous
#E79A78 #E7D178 #C6E778
triadic
#E7D178 #78E7D1 #D178E7
tetradic
#E7D178 #78E79A #788EE7 #E778C6
square
#E7D178 #78E79A #788EE7 #E778C6
split-complementary
#E7D178 #78C6E7 #9A78E7
monochromatic
#C2A223 #DEBF44 #E7D178 #F0E3AC #F9F4E0

Accessibility & contrast

On white

1.52
#E7D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#E7D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D178
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D178#FFFFFF#000000##000000
##E7D1781.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD71
Deuteranopia (green-blind)
#E7D47C
Tritanopia (blue-blind)
#F6C5BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d178;
/* rgb */ color: rgb(231, 209, 120);
/* oklch */ color: oklch(86.0% 0.112 95.9);
Tailwind
colors: {
  custom: {
    50: '#f1dea1',
    500: '#e7d178',
    950: '#000000',
  },
}
SCSS
$custom: #e7d178;
$custom-light: #f1dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d178",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 48.108,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86024,
    "c": 0.11234,
    "h": 95.9
  },
  "luminance": 0.63946
}

Semantic roles & 50–950 ramp

primary
#E7D178
secondary
#445DBF
accent
#39D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D178

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

Preview Lab → · Contrast checker → · Palette generator →

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