#E4E278#E4E278

#E4E278 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.3% C 0.129 H 107.8°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#E4E278
RGBrgb(228, 226, 120)
HSLhsl(59, 67%, 68%)
HSVhsv(59, 47%, 89%)
CMYKcmyk(0%, 0.9%, 47.4%, 10.6%)
CIE-LABlab(88.09, -13.66, 51.65)
CIE-LCHlch(88.09, 53.43, 104.81°)
OKLaboklab(89.25% -0.0394 0.1228)
OKLCHoklch(89.25% 0.129 107.8)
XYZxyz(62.5828, 72.2443, 28.4135)
Luminance0.7224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E278 #787AE4
analogous
#E4AC78 #E4E278 #B0E478
triadic
#E4E278 #78E4E2 #E278E4
tetradic
#E4E278 #78E4AC #787AE4 #E478B0
square
#E4E278 #78E4AC #787AE4 #E478B0
split-complementary
#E4E278 #78B0E4 #AC78E4
monochromatic
#BCB926 #DAD745 #E4E278 #EEEDAB #F8F8DE

Accessibility & contrast

On white

1.36
#E4E278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#E4E278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E278
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E278#FFFFFF#000000##000000
##E4E2781.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB6F
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#F1D6C9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e278;
/* rgb */ color: rgb(228, 226, 120);
/* oklch */ color: oklch(89.3% 0.129 107.8);
Tailwind
colors: {
  custom: {
    50: '#eeeaa1',
    500: '#e4e278',
    950: '#000000',
  },
}
SCSS
$custom: #e4e278;
$custom-light: #eeeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e278",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 120
  },
  "hsl": {
    "h": 58.889,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89254,
    "c": 0.12896,
    "h": 107.8
  },
  "luminance": 0.72243
}

Semantic roles & 50–950 ramp

primary
#E4E278
secondary
#4547BB
accent
#1ACF17
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E4E278

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

Preview Lab → · Contrast checker → · Palette generator →

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