#E7F866#E7F866

#E7F866 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 93.9% C 0.169 H 115.3°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#E7F866
RGBrgb(231, 248, 102)
HSLhsl(67, 91%, 69%)
HSVhsv(67, 59%, 97%)
CMYKcmyk(6.9%, 0%, 58.9%, 2.7%)
CIE-LABlab(93.92, -24.59, 66.46)
CIE-LCHlch(93.92, 70.86, 110.30°)
OKLaboklab(93.91% -0.0723 0.1529)
OKLCHoklch(93.91% 0.169 115.3)
XYZxyz(68.9221, 85.0840, 25.3599)
Luminance0.8508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F866 #7766F8
analogous
#F8C066 #E7F866 #9EF866
triadic
#E7F866 #66E7F8 #F866E7
tetradic
#E7F866 #66F8C0 #7766F8 #F8669E
square
#E7F866 #66F8C0 #7766F8 #F8669E
split-complementary
#E7F866 #669EF8 #C066F8
monochromatic
#C1DA0A #DEF52B #E7F866 #F0FBA1 #F9FDDB

Accessibility & contrast

On white

1.17
#E7F866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#E7F866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F866
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F866#FFFFFF#000000##000000
##E7F8661.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC55
Deuteranopia (green-blind)
#FFEF6F
Tritanopia (blue-blind)
#F4EBD9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e7f866;
/* rgb */ color: rgb(231, 248, 102);
/* oklch */ color: oklch(93.9% 0.169 115.3);
Tailwind
colors: {
  custom: {
    50: '#f1fa97',
    500: '#e7f866',
    950: '#000000',
  },
}
SCSS
$custom: #e7f866;
$custom-light: #f1fa97;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f866",
  "rgb": {
    "r": 231,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 66.986,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93909,
    "c": 0.16912,
    "h": 115.3
  },
  "luminance": 0.85083
}

Semantic roles & 50–950 ramp

primary
#E7F866
secondary
#4331D2
accent
#00E61B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E7F866

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

Preview Lab → · Contrast checker → · Palette generator →

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