#E7D078#E7D078

#E7D078 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.112 H 95.1°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#E7D078
RGBrgb(231, 208, 120)
HSLhsl(48, 70%, 69%)
HSVhsv(48, 48%, 91%)
CMYKcmyk(0%, 10%, 48.1%, 9.4%)
CIE-LABlab(83.68, -3.38, 46.35)
CIE-LCHlch(83.68, 46.48, 94.17°)
OKLaboklab(85.82% -0.01 0.1111)
OKLCHoklch(85.82% 0.112 95.1)
XYZxyz(58.9029, 63.4591, 26.9118)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D078 #788FE7
analogous
#E79978 #E7D078 #C6E778
triadic
#E7D078 #78E7D0 #D078E7
tetradic
#E7D078 #78E799 #788FE7 #E778C6
square
#E7D078 #78E799 #788FE7 #E778C6
split-complementary
#E7D078 #78C6E7 #9978E7
monochromatic
#C2A123 #DEBE44 #E7D078 #F0E2AC #F9F4E0

Accessibility & contrast

On white

1.53
#E7D078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#E7D078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D078
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D078#FFFFFF#000000##000000
##E7D0781.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC71
Deuteranopia (green-blind)
#E6D47B
Tritanopia (blue-blind)
#F6C4BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d078;
/* rgb */ color: rgb(231, 208, 120);
/* oklch */ color: oklch(85.8% 0.112 95.1);
Tailwind
colors: {
  custom: {
    50: '#f1dea0',
    500: '#e7d078',
    950: '#000000',
  },
}
SCSS
$custom: #e7d078;
$custom-light: #f1dea0;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d078",
  "rgb": {
    "r": 231,
    "g": 208,
    "b": 120
  },
  "hsl": {
    "h": 47.568,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.85822,
    "c": 0.1115,
    "h": 95.1
  },
  "luminance": 0.63457
}

Semantic roles & 50–950 ramp

primary
#E7D078
secondary
#445EBF
accent
#3BD214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D078

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

Preview Lab → · Contrast checker → · Palette generator →

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