#D2FF97#D2FF97

#D2FF97 is a very light, vivid yellow-green. Relative luminance 0.875; OKLCH L 94.5% C 0.139 H 127.9°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#D2FF97
RGBrgb(210, 255, 151)
HSLhsl(86, 100%, 80%)
HSVhsv(86, 41%, 100%)
CMYKcmyk(17.6%, 0%, 40.8%, 0%)
CIE-LABlab(94.93, -31.13, 45.01)
CIE-LCHlch(94.93, 54.73, 124.67°)
OKLaboklab(94.54% -0.0857 0.11)
OKLCHoklch(94.54% 0.139 127.9)
XYZxyz(67.9236, 87.4551, 42.5742)
Luminance0.8746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FF97 #C497FF
analogous
#FFF897 #D2FF97 #9EFF97
triadic
#D2FF97 #97D2FF #FF97D2
tetradic
#D2FF97 #97FFF8 #C497FF #FF979E
square
#D2FF97 #97FFF8 #C497FF #FF979E
split-complementary
#D2FF97 #979EFF #F897FF
monochromatic
#9DFF1D #B8FF5A #D2FF97 #ECFFD4 #F2FFE0

Accessibility & contrast

On white

1.14
#D2FF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#D2FF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FF97
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FF97#FFFFFF#000000##000000
##D2FF971.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF09D
Tritanopia (blue-blind)
#D7F7E6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #d2ff97;
/* rgb */ color: rgb(210, 255, 151);
/* oklch */ color: oklch(94.5% 0.139 127.9);
Tailwind
colors: {
  custom: {
    50: '#e1ffb7',
    500: '#d2ff97',
    950: '#000000',
  },
}
SCSS
$custom: #d2ff97;
$custom-light: #e1ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ff97",
  "rgb": {
    "r": 210,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 85.962,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94543,
    "c": 0.13941,
    "h": 127.9
  },
  "luminance": 0.87456
}

Semantic roles & 50–950 ramp

primary
#D2FF97
secondary
#9459E2
accent
#00E663
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #D2FF97

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

Preview Lab → · Contrast checker → · Palette generator →

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