#D2FB97#D2FB97

#D2FB97 is a very light, vivid yellow-green. Relative luminance 0.849; OKLCH L 93.7% C 0.134 H 127.0°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#D2FB97
RGBrgb(210, 251, 151)
HSLhsl(85, 93%, 79%)
HSVhsv(85, 40%, 98%)
CMYKcmyk(16.3%, 0%, 39.8%, 1.6%)
CIE-LABlab(93.85, -29.27, 43.64)
CIE-LCHlch(93.85, 52.54, 123.85°)
OKLaboklab(93.68% -0.0805 0.1068)
OKLCHoklch(93.68% 0.134 127)
XYZxyz(66.6608, 84.9297, 42.1533)
Luminance0.8493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FB97 #C097FB
analogous
#FBF297 #D2FB97 #A0FB97
triadic
#D2FB97 #97D2FB #FB97D2
tetradic
#D2FB97 #97FBF2 #C097FB #FB97A0
square
#D2FB97 #97FBF2 #C097FB #FB97A0
split-complementary
#D2FB97 #97A0FB #F297FB
monochromatic
#9FF621 #B9F95C #D2FB97 #ECFDD2 #F2FEE2

Accessibility & contrast

On white

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

On black

17.99
#D2FB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FB97
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FB97#FFFFFF#000000##000000
##D2FB971.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8F
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#D7F3E2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d2fb97;
/* rgb */ color: rgb(210, 251, 151);
/* oklch */ color: oklch(93.7% 0.134 127.0);
Tailwind
colors: {
  custom: {
    50: '#e1fcb7',
    500: '#d2fb97',
    950: '#000000',
  },
}
SCSS
$custom: #d2fb97;
$custom-light: #e1fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fb97",
  "rgb": {
    "r": 210,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 84.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93677,
    "c": 0.13374,
    "h": 127
  },
  "luminance": 0.8493
}

Semantic roles & 50–950 ramp

primary
#D2FB97
secondary
#8F5ADC
accent
#00E65E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2FB97

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

Preview Lab → · Contrast checker → · Palette generator →

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