#E2EF78#E2EF78

#E2EF78 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 91.8% C 0.144 H 114.4°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#E2EF78
RGBrgb(226, 239, 120)
HSLhsl(67, 79%, 70%)
HSVhsv(67, 50%, 94%)
CMYKcmyk(5.4%, 0%, 49.8%, 6.3%)
CIE-LABlab(91.35, -20.80, 55.52)
CIE-LCHlch(91.35, 59.29, 110.54°)
OKLaboklab(91.82% -0.0596 0.1313)
OKLCHoklch(91.82% 0.144 114.4)
XYZxyz(65.6217, 79.2588, 29.6072)
Luminance0.7926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EF78 #8578EF
analogous
#EFC178 #E2EF78 #A6EF78
triadic
#E2EF78 #78E2EF #EF78E2
tetradic
#E2EF78 #78EFC1 #8578EF #EF78A6
square
#E2EF78 #78EFC1 #8578EF #EF78A6
split-complementary
#E2EF78 #78A6EF #C178EF
monochromatic
#BFD419 #D6E941 #E2EF78 #EEF5AF #F9FCE4

Accessibility & contrast

On white

1.25
#E2EF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#E2EF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EF78
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EF78#FFFFFF#000000##000000
##E2EF781.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56D
Deuteranopia (green-blind)
#FDE77E
Tritanopia (blue-blind)
#EEE3D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e2ef78;
/* rgb */ color: rgb(226, 239, 120);
/* oklch */ color: oklch(91.8% 0.144 114.4);
Tailwind
colors: {
  custom: {
    50: '#edf4a2',
    500: '#e2ef78',
    950: '#000000',
  },
}
SCSS
$custom: #e2ef78;
$custom-light: #edf4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ef78",
  "rgb": {
    "r": 226,
    "g": 239,
    "b": 120
  },
  "hsl": {
    "h": 66.555,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91821,
    "c": 0.14419,
    "h": 114.4
  },
  "luminance": 0.79258
}

Semantic roles & 50–950 ramp

primary
#E2EF78
secondary
#5143C9
accent
#0ADB21
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E2EF78

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

Preview Lab → · Contrast checker → · Palette generator →

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