#D2FA98#D2FA98

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

Color values

HEX#D2FA98
RGBrgb(210, 250, 152)
HSLhsl(84, 91%, 79%)
HSVhsv(84, 39%, 98%)
CMYKcmyk(16%, 0%, 39.2%, 2%)
CIE-LABlab(93.60, -28.68, 42.82)
CIE-LCHlch(93.60, 51.54, 123.81°)
OKLaboklab(93.48% -0.0788 0.105)
OKLCHoklch(93.48% 0.131 126.9)
XYZxyz(66.4308, 84.3392, 42.4789)
Luminance0.8434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA98 #C098FA
analogous
#FAF198 #D2FA98 #A1FA98
triadic
#D2FA98 #98D2FA #FA98D2
tetradic
#D2FA98 #98FAF1 #C098FA #FA98A1
square
#D2FA98 #98FAF1 #C098FA #FA98A1
split-complementary
#D2FA98 #98A1FA #F198FA
monochromatic
#9FF423 #B9F75E #D2FA98 #ECFDD2 #F2FEE2

Accessibility & contrast

On white

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

On black

17.87
#D2FA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA98
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA98#FFFFFF#000000##000000
##D2FA981.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2fa98;
/* rgb */ color: rgb(210, 250, 152);
/* oklch */ color: oklch(93.5% 0.131 126.9);
Tailwind
colors: {
  custom: {
    50: '#e1fcb7',
    500: '#d2fa98',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa98;
$custom-light: #e1fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa98",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 84.49,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.93477,
    "c": 0.13126,
    "h": 126.9
  },
  "luminance": 0.8434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2FA98

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

Preview Lab → · Contrast checker → · Palette generator →

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