#E8D378#E8D378

#E8D378 is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.5% C 0.114 H 96.7°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#E8D378
RGBrgb(232, 211, 120)
HSLhsl(49, 71%, 69%)
HSVhsv(49, 48%, 91%)
CMYKcmyk(0%, 9.1%, 48.3%, 9%)
CIE-LABlab(84.54, -4.51, 47.42)
CIE-LCHlch(84.54, 47.63, 95.44°)
OKLaboklab(86.52% -0.0133 0.1134)
OKLCHoklch(86.52% 0.114 96.7)
XYZxyz(59.9650, 65.1027, 27.1731)
Luminance0.6510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D378 #788DE8
analogous
#E89B78 #E8D378 #C5E878
triadic
#E8D378 #78E8D3 #D378E8
tetradic
#E8D378 #78E89B #788DE8 #E878C5
square
#E8D378 #78E89B #788DE8 #E878C5
split-complementary
#E8D378 #78C5E8 #9B78E8
monochromatic
#C4A621 #DFC244 #E8D378 #F1E4AC #FAF5E1

Accessibility & contrast

On white

1.50
#E8D378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#E8D378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D378
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D378#FFFFFF#000000##000000
##E8D3781.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#E9D67C
Tritanopia (blue-blind)
#F7C7BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d378;
/* rgb */ color: rgb(232, 211, 120);
/* oklch */ color: oklch(86.5% 0.114 96.7);
Tailwind
colors: {
  custom: {
    50: '#f1e0a1',
    500: '#e8d378',
    950: '#000000',
  },
}
SCSS
$custom: #e8d378;
$custom-light: #f1e0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d378",
  "rgb": {
    "r": 232,
    "g": 211,
    "b": 120
  },
  "hsl": {
    "h": 48.75,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86517,
    "c": 0.11419,
    "h": 96.7
  },
  "luminance": 0.651
}

Semantic roles & 50–950 ramp

primary
#E8D378
secondary
#445BC0
accent
#37D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D378

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

Preview Lab → · Contrast checker → · Palette generator →

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