#E8F97B#E8F97B

#E8F97B is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.4% C 0.152 H 115.7°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#E8F97B
RGBrgb(232, 249, 123)
HSLhsl(68, 91%, 73%)
HSVhsv(68, 51%, 98%)
CMYKcmyk(6.8%, 0%, 50.6%, 2.4%)
CIE-LABlab(94.46, -23.01, 57.92)
CIE-LCHlch(94.46, 62.33, 111.66°)
OKLaboklab(94.42% -0.0659 0.1367)
OKLCHoklch(94.42% 0.152 115.7)
XYZxyz(70.7306, 86.3381, 31.6739)
Luminance0.8634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F97B #8C7BF9
analogous
#F9CB7B #E8F97B #A9F97B
triadic
#E8F97B #7BE8F9 #F97BE8
tetradic
#E8F97B #7BF9CB #8C7BF9 #F97BA9
square
#E8F97B #7BF9CB #8C7BF9 #F97BA9
split-complementary
#E8F97B #7BA9F9 #CB7BF9
monochromatic
#D0EF0B #DEF640 #E8F97B #F2FCB6 #FAFEE2

Accessibility & contrast

On white

1.15
#E8F97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#E8F97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F97B
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F97B#FFFFFF#000000##000000
##E8F97B1.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6F
Deuteranopia (green-blind)
#FFF082
Tritanopia (blue-blind)
#F4EDDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #e8f97b;
/* rgb */ color: rgb(232, 249, 123);
/* oklch */ color: oklch(94.4% 0.152 115.7);
Tailwind
colors: {
  custom: {
    50: '#f1fba4',
    500: '#e8f97b',
    950: '#000000',
  },
}
SCSS
$custom: #e8f97b;
$custom-light: #f1fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f97b",
  "rgb": {
    "r": 232,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 68.095,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94422,
    "c": 0.15177,
    "h": 115.7
  },
  "luminance": 0.86337
}

Semantic roles & 50–950 ramp

primary
#E8F97B
secondary
#5643D6
accent
#00E61F
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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