#E2E478#E2E478

#E2E478 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.5% C 0.131 H 109.7°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#E2E478
RGBrgb(226, 228, 120)
HSLhsl(61, 67%, 68%)
HSVhsv(61, 47%, 89%)
CMYKcmyk(0.9%, 0%, 47.4%, 10.6%)
CIE-LABlab(88.45, -15.44, 52.06)
CIE-LCHlch(88.45, 54.30, 106.52°)
OKLaboklab(89.51% -0.0444 0.1237)
OKLCHoklch(89.51% 0.131 109.7)
XYZxyz(62.4989, 73.0130, 28.5663)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E478 #7A78E4
analogous
#E4B078 #E2E478 #ACE478
triadic
#E2E478 #78E2E4 #E478E2
tetradic
#E2E478 #78E4B0 #7A78E4 #E478AC
square
#E2E478 #78E4B0 #7A78E4 #E478AC
split-complementary
#E2E478 #78ACE4 #B078E4
monochromatic
#B9BC26 #D7DA45 #E2E478 #EDEEAB #F8F8DE

Accessibility & contrast

On white

1.35
#E2E478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#E2E478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E478
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E478#FFFFFF#000000##000000
##E2E4781.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e478;
/* rgb */ color: rgb(226, 228, 120);
/* oklch */ color: oklch(89.5% 0.131 109.7);
Tailwind
colors: {
  custom: {
    50: '#edeca1',
    500: '#e2e478',
    950: '#000000',
  },
}
SCSS
$custom: #e2e478;
$custom-light: #edeca1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e478",
  "rgb": {
    "r": 226,
    "g": 228,
    "b": 120
  },
  "hsl": {
    "h": 61.111,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.89509,
    "c": 0.13144,
    "h": 109.7
  },
  "luminance": 0.73012
}

Semantic roles & 50–950 ramp

primary
#E2E478
secondary
#4745BB
accent
#17CF1A
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E2E478

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

Preview Lab → · Contrast checker → · Palette generator →

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