#E8E378#E8E378

#E8E378 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.8% C 0.130 H 106.3°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#E8E378
RGBrgb(232, 227, 120)
HSLhsl(57, 71%, 69%)
HSVhsv(57, 48%, 91%)
CMYKcmyk(0%, 2.2%, 48.3%, 9%)
CIE-LABlab(88.66, -12.57, 52.42)
CIE-LCHlch(88.66, 53.91, 103.48°)
OKLaboklab(89.79% -0.0365 0.1244)
OKLCHoklch(89.79% 0.13 106.3)
XYZxyz(64.1395, 73.4518, 28.5646)
Luminance0.7345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E378 #787DE8
analogous
#E8AB78 #E8E378 #B5E878
triadic
#E8E378 #78E8E3 #E378E8
tetradic
#E8E378 #78E8AB #787DE8 #E878B5
square
#E8E378 #78E8AB #787DE8 #E878B5
split-complementary
#E8E378 #78B5E8 #AB78E8
monochromatic
#C4BD21 #DFD844 #E8E378 #F1EEAC #FAF9E1

Accessibility & contrast

On white

1.34
#E8E378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#E8E378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E378
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E378#FFFFFF#000000##000000
##E8E3781.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6F
Deuteranopia (green-blind)
#F5E17D
Tritanopia (blue-blind)
#F6D7CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e8e378;
/* rgb */ color: rgb(232, 227, 120);
/* oklch */ color: oklch(89.8% 0.130 106.3);
Tailwind
colors: {
  custom: {
    50: '#f1eba1',
    500: '#e8e378',
    950: '#000000',
  },
}
SCSS
$custom: #e8e378;
$custom-light: #f1eba1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e378",
  "rgb": {
    "r": 232,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 57.321,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8979,
    "c": 0.12967,
    "h": 106.3
  },
  "luminance": 0.7345
}

Semantic roles & 50–950 ramp

primary
#E8E378
secondary
#444AC0
accent
#1BD313
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E8E378

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

Preview Lab → · Contrast checker → · Palette generator →

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