#E4E478#E4E478

#E4E478 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.7% C 0.131 H 108.8°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#E4E478
RGBrgb(228, 228, 120)
HSLhsl(60, 67%, 68%)
HSVhsv(60, 47%, 89%)
CMYKcmyk(0%, 0%, 47.4%, 10.6%)
CIE-LABlab(88.61, -14.65, 52.28)
CIE-LCHlch(88.61, 54.30, 105.65°)
OKLaboklab(89.67% -0.0422 0.1242)
OKLCHoklch(89.67% 0.131 108.8)
XYZxyz(63.1298, 73.3383, 28.5958)
Luminance0.7334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E478 #7878E4
analogous
#E4AE78 #E4E478 #AEE478
triadic
#E4E478 #78E4E4 #E478E4
tetradic
#E4E478 #78E4AE #7878E4 #E478AE
square
#E4E478 #78E4AE #7878E4 #E478AE
split-complementary
#E4E478 #78AEE4 #AE78E4
monochromatic
#BCBC26 #DADA45 #E4E478 #EEEEAB #F8F8DE

Accessibility & contrast

On white

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

On black

15.67
#E4E478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E478
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E478#FFFFFF#000000##000000
##E4E4781.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC6E
Deuteranopia (green-blind)
#F5E07D
Tritanopia (blue-blind)
#F1D8CB
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e4e478;
/* rgb */ color: rgb(228, 228, 120);
/* oklch */ color: oklch(89.7% 0.131 108.8);
Tailwind
colors: {
  custom: {
    50: '#eeeca1',
    500: '#e4e478',
    950: '#000000',
  },
}
SCSS
$custom: #e4e478;
$custom-light: #eeeca1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e478",
  "rgb": {
    "r": 228,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 60,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8967,
    "c": 0.13116,
    "h": 108.8
  },
  "luminance": 0.73337
}

Semantic roles & 50–950 ramp

primary
#E4E478
secondary
#4545BB
accent
#17CF17
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E4E478

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

Preview Lab → · Contrast checker → · Palette generator →

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