#D2FC97#D2FC97

#D2FC97 is a very light, vivid yellow-green. Relative luminance 0.856; OKLCH L 93.9% C 0.135 H 127.2°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#D2FC97
RGBrgb(210, 252, 151)
HSLhsl(85, 94%, 79%)
HSVhsv(85, 40%, 99%)
CMYKcmyk(16.7%, 0%, 40.1%, 1.2%)
CIE-LABlab(94.12, -29.73, 43.98)
CIE-LCHlch(94.12, 53.09, 124.06°)
OKLaboklab(93.89% -0.0818 0.1076)
OKLCHoklch(93.89% 0.135 127.2)
XYZxyz(66.9740, 85.5561, 42.2577)
Luminance0.8556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FC97 #C197FC
analogous
#FCF397 #D2FC97 #A0FC97
triadic
#D2FC97 #97D2FC #FC97D2
tetradic
#D2FC97 #97FCF3 #C197FC #FC97A0
square
#D2FC97 #97FCF3 #C197FC #FC97A0
split-complementary
#D2FC97 #97A0FC #F397FC
monochromatic
#9FF920 #B8FA5C #D2FC97 #ECFED2 #F2FEE1

Accessibility & contrast

On white

1.16
#D2FC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.11
#D2FC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FC97
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FC97#FFFFFF#000000##000000
##D2FC971.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#D7F4E3
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #d2fc97;
/* rgb */ color: rgb(210, 252, 151);
/* oklch */ color: oklch(93.9% 0.135 127.2);
Tailwind
colors: {
  custom: {
    50: '#e1fdb7',
    500: '#d2fc97',
    950: '#000000',
  },
}
SCSS
$custom: #d2fc97;
$custom-light: #e1fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fc97",
  "rgb": {
    "r": 210,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 84.95,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.93893,
    "c": 0.13516,
    "h": 127.2
  },
  "luminance": 0.85557
}

Semantic roles & 50–950 ramp

primary
#D2FC97
secondary
#915ADD
accent
#00E65F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2FC97

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

Preview Lab → · Contrast checker → · Palette generator →

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