#D2F97C#D2F97C

#D2F97C is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.9% C 0.158 H 123.8°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#D2F97C
RGBrgb(210, 249, 124)
HSLhsl(79, 91%, 73%)
HSVhsv(79, 50%, 98%)
CMYKcmyk(15.7%, 0%, 50.2%, 2.4%)
CIE-LABlab(92.97, -31.26, 55.34)
CIE-LCHlch(92.97, 63.56, 119.46°)
OKLaboklab(92.86% -0.0879 0.1314)
OKLCHoklch(92.86% 0.158 123.8)
XYZxyz(64.0922, 82.9079, 31.6911)
Luminance0.8291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F97C #A37CF9
analogous
#F9E17C #D2F97C #93F97C
triadic
#D2F97C #7CD2F9 #F97CD2
tetradic
#D2F97C #7CF9E1 #A37CF9 #F97C93
square
#D2F97C #7CF9E1 #A37CF9 #F97C93
split-complementary
#D2F97C #7C93F9 #E17CF9
monochromatic
#A8F00B #BEF641 #D2F97C #E6FCB7 #F5FEE2

Accessibility & contrast

On white

1.19
#D2F97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#D2F97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F97C
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F97C#FFFFFF#000000##000000
##D2F97C1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#DAEFDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d2f97c;
/* rgb */ color: rgb(210, 249, 124);
/* oklch */ color: oklch(92.9% 0.158 123.8);
Tailwind
colors: {
  custom: {
    50: '#e2fba5',
    500: '#d2f97c',
    950: '#000000',
  },
}
SCSS
$custom: #d2f97c;
$custom-light: #e2fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f97c",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 78.72,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92861,
    "c": 0.15811,
    "h": 123.8
  },
  "luminance": 0.82908
}

Semantic roles & 50–950 ramp

primary
#D2F97C
secondary
#7144D6
accent
#00E648
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F97C

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

Preview Lab → · Contrast checker → · Palette generator →

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