#E4E78A#E4E78A

#E4E78A is a very light, moderate yellow. Relative luminance 0.755; OKLCH L 90.5% C 0.116 H 110.1°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#E4E78A
RGBrgb(228, 231, 138)
HSLhsl(62, 66%, 72%)
HSVhsv(62, 40%, 91%)
CMYKcmyk(1.3%, 0%, 40.3%, 9.4%)
CIE-LABlab(89.62, -14.38, 44.87)
CIE-LCHlch(89.62, 47.11, 107.77°)
OKLaboklab(90.55% -0.0399 0.1089)
OKLCHoklch(90.55% 0.116 110.1)
XYZxyz(65.1591, 75.4820, 35.1768)
Luminance0.7548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E78A #8D8AE7
analogous
#E7BB8A #E4E78A #B6E78A
triadic
#E4E78A #8AE4E7 #E78AE4
tetradic
#E4E78A #8AE7BB #8D8AE7 #E78AB6
square
#E4E78A #8AE7BB #8D8AE7 #E78AB6
split-complementary
#E4E78A #8AB6E7 #BB8AE7
monochromatic
#C7CD2A #D8DD57 #E4E78A #F0F1BD #F9FAE6

Accessibility & contrast

On white

1.30
#E4E78A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#E4E78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E78A
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E78A#FFFFFF#000000##000000
##E4E78A1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E083
Deuteranopia (green-blind)
#F5E38E
Tritanopia (blue-blind)
#F0DDD0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e78a;
/* rgb */ color: rgb(228, 231, 138);
/* oklch */ color: oklch(90.5% 0.116 110.1);
Tailwind
colors: {
  custom: {
    50: '#eeeead',
    500: '#e4e78a',
    950: '#000000',
  },
}
SCSS
$custom: #e4e78a;
$custom-light: #eeeead;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e78a",
  "rgb": {
    "r": 228,
    "g": 231,
    "b": 138
  },
  "hsl": {
    "h": 61.935,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.90547,
    "c": 0.11595,
    "h": 110.1
  },
  "luminance": 0.75481
}

Semantic roles & 50–950 ramp

primary
#E4E78A
secondary
#5855C0
accent
#18CE1E
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581

Preview Lab

Preview with #E4E78A

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

Preview Lab → · Contrast checker → · Palette generator →

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