#D2FA97#D2FA97

#D2FA97 is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.5% C 0.132 H 126.7°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#D2FA97
RGBrgb(210, 250, 151)
HSLhsl(84, 91%, 79%)
HSVhsv(84, 40%, 98%)
CMYKcmyk(16%, 0%, 39.6%, 2%)
CIE-LABlab(93.58, -28.80, 43.29)
CIE-LCHlch(93.58, 52.00, 123.63°)
OKLaboklab(93.46% -0.0792 0.106)
OKLCHoklch(93.46% 0.132 126.7)
XYZxyz(66.3493, 84.3066, 42.0494)
Luminance0.8431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA97 #BF97FA
analogous
#FAF097 #D2FA97 #A0FA97
triadic
#D2FA97 #97D2FA #FA97D2
tetradic
#D2FA97 #97FAF0 #BF97FA #FA97A0
square
#D2FA97 #97FAF0 #BF97FA #FA97A0
split-complementary
#D2FA97 #97A0FA #F097FA
monochromatic
#9FF422 #B9F75D #D2FA97 #EBFDD1 #F2FEE2

Accessibility & contrast

On white

1.18
#D2FA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#D2FA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA97
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA97#FFFFFF#000000##000000
##D2FA971.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE90
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#D7F2E2
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d2fa97;
/* rgb */ color: rgb(210, 250, 151);
/* oklch */ color: oklch(93.5% 0.132 126.7);
Tailwind
colors: {
  custom: {
    50: '#e1fcb7',
    500: '#d2fa97',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa97;
$custom-light: #e1fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa97",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 84.242,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93461,
    "c": 0.13233,
    "h": 126.7
  },
  "luminance": 0.84307
}

Semantic roles & 50–950 ramp

primary
#D2FA97
secondary
#8E5BDA
accent
#00E65D
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2FA97

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

Preview Lab → · Contrast checker → · Palette generator →

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