#E7FB97#E7FB97

#E7FB97 is a very light, vivid yellow-green. Relative luminance 0.882; OKLCH L 95.2% C 0.126 H 118.1°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#E7FB97
RGBrgb(231, 251, 151)
HSLhsl(72, 93%, 79%)
HSVhsv(72, 40%, 98%)
CMYKcmyk(8%, 0%, 39.8%, 1.6%)
CIE-LABlab(95.25, -21.56, 45.71)
CIE-LCHlch(95.25, 50.54, 115.26°)
OKLaboklab(95.15% -0.0595 0.1114)
OKLCHoklch(95.15% 0.126 118.1)
XYZxyz(73.0384, 88.2181, 42.4522)
Luminance0.8822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7FB97 #AB97FB
analogous
#FBDD97 #E7FB97 #B5FB97
triadic
#E7FB97 #97E7FB #FB97E7
tetradic
#E7FB97 #97FBDD #AB97FB #FB97B5
square
#E7FB97 #97FBDD #AB97FB #FB97B5
split-complementary
#E7FB97 #97B5FB #DD97FB
monochromatic
#CCF621 #D9F95C #E7FB97 #F5FDD2 #F8FEE2

Accessibility & contrast

On white

1.13
#E7FB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#E7FB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7FB97
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7FB97#FFFFFF#000000##000000
##E7FB971.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFF29C
Tritanopia (blue-blind)
#F0F1E3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #e7fb97;
/* rgb */ color: rgb(231, 251, 151);
/* oklch */ color: oklch(95.2% 0.126 118.1);
Tailwind
colors: {
  custom: {
    50: '#f0fcb7',
    500: '#e7fb97',
    950: '#000000',
  },
}
SCSS
$custom: #e7fb97;
$custom-light: #f0fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7fb97",
  "rgb": {
    "r": 231,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 72,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95152,
    "c": 0.12631,
    "h": 118.1
  },
  "luminance": 0.88218
}

Semantic roles & 50–950 ramp

primary
#E7FB97
secondary
#745ADC
accent
#00E62E
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #E7FB97

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

Preview Lab → · Contrast checker → · Palette generator →

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