#E8F87A#E8F87A

#E8F87A is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.2% C 0.151 H 115.4°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#E8F87A
RGBrgb(232, 248, 122)
HSLhsl(68, 90%, 73%)
HSVhsv(68, 51%, 97%)
CMYKcmyk(6.5%, 0%, 50.8%, 2.7%)
CIE-LABlab(94.18, -22.62, 58.05)
CIE-LCHlch(94.18, 62.31, 111.29°)
OKLaboklab(94.2% -0.0649 0.1369)
OKLCHoklch(94.2% 0.152 115.4)
XYZxyz(70.3601, 85.6967, 31.2431)
Luminance0.8570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F87A #8A7AF8
analogous
#F8C97A #E8F87A #A9F87A
triadic
#E8F87A #7AE8F8 #F87AE8
tetradic
#E8F87A #7AF8C9 #8A7AF8 #F87AA9
square
#E8F87A #7AF8C9 #8A7AF8 #F87AA9
split-complementary
#E8F87A #7AA9F8 #C97AF8
monochromatic
#CFEB0C #DEF540 #E8F87A #F2FBB4 #FAFDE2

Accessibility & contrast

On white

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

On black

18.14
#E8F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F87A
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F87A#FFFFFF#000000##000000
##E8F87A1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFEF81
Tritanopia (blue-blind)
#F4ECDB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e8f87a;
/* rgb */ color: rgb(232, 248, 122);
/* oklch */ color: oklch(94.2% 0.151 115.4);
Tailwind
colors: {
  custom: {
    50: '#f1faa3',
    500: '#e8f87a',
    950: '#000000',
  },
}
SCSS
$custom: #e8f87a;
$custom-light: #f1faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f87a",
  "rgb": {
    "r": 232,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 67.619,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.942,
    "c": 0.1515,
    "h": 115.4
  },
  "luminance": 0.85696
}

Semantic roles & 50–950 ramp

primary
#E8F87A
secondary
#5542D4
accent
#00E61D
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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