#D2FD97#D2FD97

#D2FD97 is a very light, vivid yellow-green. Relative luminance 0.862; OKLCH L 94.1% C 0.137 H 127.5°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#D2FD97
RGBrgb(210, 253, 151)
HSLhsl(85, 96%, 79%)
HSVhsv(85, 40%, 99%)
CMYKcmyk(17%, 0%, 40.3%, 0.8%)
CIE-LABlab(94.39, -30.20, 44.32)
CIE-LCHlch(94.39, 53.63, 124.27°)
OKLaboklab(94.11% -0.0831 0.1084)
OKLCHoklch(94.11% 0.137 127.5)
XYZxyz(67.2889, 86.1858, 42.3626)
Luminance0.8619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FD97 #C297FD
analogous
#FDF597 #D2FD97 #9FFD97
triadic
#D2FD97 #97D2FD #FD97D2
tetradic
#D2FD97 #97FDF5 #C297FD #FD979F
square
#D2FD97 #97FDF5 #C297FD #FD979F
split-complementary
#D2FD97 #979FFD #F597FD
monochromatic
#9EFB1F #B8FC5B #D2FD97 #ECFED3 #F2FEE1

Accessibility & contrast

On white

1.15
#D2FD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#D2FD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FD97
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FD97#FFFFFF#000000##000000
##D2FD971.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFEE9C
Tritanopia (blue-blind)
#D7F5E4
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #d2fd97;
/* rgb */ color: rgb(210, 253, 151);
/* oklch */ color: oklch(94.1% 0.137 127.5);
Tailwind
colors: {
  custom: {
    50: '#e1feb7',
    500: '#d2fd97',
    950: '#000000',
  },
}
SCSS
$custom: #d2fd97;
$custom-light: #e1feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fd97",
  "rgb": {
    "r": 210,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 85.294,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.9411,
    "c": 0.13657,
    "h": 127.5
  },
  "luminance": 0.86187
}

Semantic roles & 50–950 ramp

primary
#D2FD97
secondary
#9259DF
accent
#00E661
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2FD97

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

Preview Lab → · Contrast checker → · Palette generator →

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