#D2FC98#D2FC98

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

Color values

HEX#D2FC98
RGBrgb(210, 252, 152)
HSLhsl(85, 94%, 79%)
HSVhsv(85, 40%, 99%)
CMYKcmyk(16.7%, 0%, 39.7%, 1.2%)
CIE-LABlab(94.14, -29.61, 43.51)
CIE-LCHlch(94.14, 52.63, 124.24°)
OKLaboklab(93.91% -0.0814 0.1066)
OKLCHoklch(93.91% 0.134 127.4)
XYZxyz(67.0556, 85.5887, 42.6872)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FC98 #C298FC
analogous
#FCF498 #D2FC98 #A0FC98
triadic
#D2FC98 #98D2FC #FC98D2
tetradic
#D2FC98 #98FCF4 #C298FC #FC98A0
square
#D2FC98 #98FCF4 #C298FC #FC98A0
split-complementary
#D2FC98 #98A0FC #F498FC
monochromatic
#9EF921 #B8FA5D #D2FC98 #ECFED3 #F2FEE1

Accessibility & contrast

On white

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

On black

18.12
#D2FC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FC98
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FC98#FFFFFF#000000##000000
##D2FC981.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2fc98;
/* rgb */ color: rgb(210, 252, 152);
/* oklch */ color: oklch(93.9% 0.134 127.4);
Tailwind
colors: {
  custom: {
    50: '#e1fdb7',
    500: '#d2fc98',
    950: '#000000',
  },
}
SCSS
$custom: #d2fc98;
$custom-light: #e1fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fc98",
  "rgb": {
    "r": 210,
    "g": 252,
    "b": 152
  },
  "hsl": {
    "h": 85.2,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.93909,
    "c": 0.13411,
    "h": 127.4
  },
  "luminance": 0.85589
}

Semantic roles & 50–950 ramp

primary
#D2FC98
secondary
#925BDD
accent
#00E660
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2FC98

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

Preview Lab → · Contrast checker → · Palette generator →

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