#E7D678#E7D678

#E7D678 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.117 H 99.3°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#E7D678
RGBrgb(231, 214, 120)
HSLhsl(51, 70%, 69%)
HSVhsv(51, 48%, 91%)
CMYKcmyk(0%, 7.4%, 48.1%, 9.4%)
CIE-LABlab(85.22, -6.44, 48.24)
CIE-LCHlch(85.22, 48.67, 97.61°)
OKLaboklab(87.04% -0.0188 0.1152)
OKLCHoklch(87.04% 0.117 99.3)
XYZxyz(60.3935, 66.4403, 27.4086)
Luminance0.6644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D678 #7889E7
analogous
#E79F78 #E7D678 #C1E778
triadic
#E7D678 #78E7D6 #D678E7
tetradic
#E7D678 #78E79F #7889E7 #E778C1
square
#E7D678 #78E79F #7889E7 #E778C1
split-complementary
#E7D678 #78C1E7 #9F78E7
monochromatic
#C2AA23 #DEC644 #E7D678 #F0E6AC #F9F6E0

Accessibility & contrast

On white

1.47
#E7D678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#E7D678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D678
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D678#FFFFFF#000000##000000
##E7D6781.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D170
Deuteranopia (green-blind)
#EBD87C
Tritanopia (blue-blind)
#F6CAC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d678;
/* rgb */ color: rgb(231, 214, 120);
/* oklch */ color: oklch(87.0% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#f1e2a1',
    500: '#e7d678',
    950: '#000000',
  },
}
SCSS
$custom: #e7d678;
$custom-light: #f1e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d678",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 120
  },
  "hsl": {
    "h": 50.811,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87038,
    "c": 0.11676,
    "h": 99.3
  },
  "luminance": 0.66438
}

Semantic roles & 50–950 ramp

primary
#E7D678
secondary
#4457BF
accent
#31D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D678

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

Preview Lab → · Contrast checker → · Palette generator →

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