#D7F866#D7F866

#D7F866 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.174 H 120.6°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#D7F866
RGBrgb(215, 248, 102)
HSLhsl(74, 91%, 69%)
HSVhsv(74, 59%, 97%)
CMYKcmyk(13.3%, 0%, 58.9%, 2.7%)
CIE-LABlab(92.81, -30.80, 64.93)
CIE-LCHlch(92.81, 71.87, 115.38°)
OKLaboklab(92.74% -0.0888 0.1499)
OKLCHoklch(92.74% 0.174 120.6)
XYZxyz(63.9908, 82.5413, 25.1287)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F866 #8766F8
analogous
#F8D066 #D7F866 #8EF866
triadic
#D7F866 #66D7F8 #F866D7
tetradic
#D7F866 #66F8D0 #8766F8 #F8668E
square
#D7F866 #66F8D0 #8766F8 #F8668E
split-complementary
#D7F866 #668EF8 #D066F8
monochromatic
#ABDA0A #C8F52B #D7F866 #E6FBA1 #F6FDDB

Accessibility & contrast

On white

1.20
#D7F866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#D7F866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F866
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F866#FFFFFF#000000##000000
##D7F8661.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB56
Deuteranopia (green-blind)
#FFEB70
Tritanopia (blue-blind)
#E2ECD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d7f866;
/* rgb */ color: rgb(215, 248, 102);
/* oklch */ color: oklch(92.7% 0.174 120.6);
Tailwind
colors: {
  custom: {
    50: '#e6fa97',
    500: '#d7f866',
    950: '#000000',
  },
}
SCSS
$custom: #d7f866;
$custom-light: #e6fa97;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f866",
  "rgb": {
    "r": 215,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 73.562,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92744,
    "c": 0.17425,
    "h": 120.6
  },
  "luminance": 0.82541
}

Semantic roles & 50–950 ramp

primary
#D7F866
secondary
#5531D2
accent
#00E634
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D7F866

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

Preview Lab → · Contrast checker → · Palette generator →

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