#E2E878#E2E878

#E2E878 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.3% C 0.136 H 111.6°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#E2E878
RGBrgb(226, 232, 120)
HSLhsl(63, 71%, 69%)
HSVhsv(63, 48%, 91%)
CMYKcmyk(2.6%, 0%, 48.3%, 9%)
CIE-LABlab(89.50, -17.41, 53.32)
CIE-LCHlch(89.50, 56.09, 108.08°)
OKLaboklab(90.35% -0.05 0.1265)
OKLCHoklch(90.35% 0.136 111.6)
XYZxyz(63.6120, 75.2393, 28.9373)
Luminance0.7524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E878 #7E78E8
analogous
#E8B678 #E2E878 #AAE878
triadic
#E2E878 #78E2E8 #E878E2
tetradic
#E2E878 #78E8B6 #7E78E8 #E878AA
square
#E2E878 #78E8B6 #7E78E8 #E878AA
split-complementary
#E2E878 #78AAE8 #B678E8
monochromatic
#BBC421 #D7DF44 #E2E878 #EDF1AC #F8FAE1

Accessibility & contrast

On white

1.31
#E2E878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#E2E878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E878
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E878#FFFFFF#000000##000000
##E2E8781.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6E
Deuteranopia (green-blind)
#F7E37E
Tritanopia (blue-blind)
#EFDCCE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e878;
/* rgb */ color: rgb(226, 232, 120);
/* oklch */ color: oklch(90.3% 0.136 111.6);
Tailwind
colors: {
  custom: {
    50: '#edefa1',
    500: '#e2e878',
    950: '#000000',
  },
}
SCSS
$custom: #e2e878;
$custom-light: #edefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e878",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 120
  },
  "hsl": {
    "h": 63.214,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90347,
    "c": 0.13599,
    "h": 111.6
  },
  "luminance": 0.75238
}

Semantic roles & 50–950 ramp

primary
#E2E878
secondary
#4B44C0
accent
#13D31D
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2E878

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

Preview Lab → · Contrast checker → · Palette generator →

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