#E8F781#E8F781

#E8F781 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.1% C 0.144 H 115.2°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#E8F781
RGBrgb(232, 247, 129)
HSLhsl(68, 88%, 74%)
HSVhsv(68, 48%, 97%)
CMYKcmyk(6.1%, 0%, 47.8%, 3.1%)
CIE-LABlab(94.00, -21.51, 54.62)
CIE-LCHlch(94.00, 58.70, 111.50°)
OKLaboklab(94.08% -0.0611 0.13)
OKLCHoklch(94.08% 0.144 115.2)
XYZxyz(70.5029, 85.2632, 33.5080)
Luminance0.8526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F781 #9081F7
analogous
#F7CB81 #E8F781 #ADF781
triadic
#E8F781 #81E8F7 #F781E8
tetradic
#E8F781 #81F7CB #9081F7 #F781AD
square
#E8F781 #81F7CB #9081F7 #F781AD
split-complementary
#E8F781 #81ADF7 #CB81F7
monochromatic
#D2EE0F #DDF347 #E8F781 #F3FBBB #FAFDE2

Accessibility & contrast

On white

1.16
#E8F781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#E8F781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F781
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F781#FFFFFF#000000##000000
##E8F7811.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED77
Deuteranopia (green-blind)
#FFEF87
Tritanopia (blue-blind)
#F4ECDC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e8f781;
/* rgb */ color: rgb(232, 247, 129);
/* oklch */ color: oklch(94.1% 0.144 115.2);
Tailwind
colors: {
  custom: {
    50: '#f1f9a8',
    500: '#e8f781',
    950: '#000000',
  },
}
SCSS
$custom: #e8f781;
$custom-light: #f1f9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f781",
  "rgb": {
    "r": 232,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 67.627,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.94076,
    "c": 0.14362,
    "h": 115.2
  },
  "luminance": 0.85262
}

Semantic roles & 50–950 ramp

primary
#E8F781
secondary
#5A49D4
accent
#01E51E
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #E8F781

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

Preview Lab → · Contrast checker → · Palette generator →

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