#D2F87C#D2F87C

#D2F87C is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.157 H 123.5°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#D2F87C
RGBrgb(210, 248, 124)
HSLhsl(78, 90%, 73%)
HSVhsv(78, 50%, 97%)
CMYKcmyk(15.3%, 0%, 50%, 2.7%)
CIE-LABlab(92.70, -30.80, 55.02)
CIE-LCHlch(92.70, 63.05, 119.24°)
OKLaboklab(92.64% -0.0866 0.1307)
OKLCHoklch(92.64% 0.157 123.5)
XYZxyz(63.7840, 82.2914, 31.5884)
Luminance0.8229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F87C #A27CF8
analogous
#F8E07C #D2F87C #94F87C
triadic
#D2F87C #7CD2F8 #F87CD2
tetradic
#D2F87C #7CF8E0 #A27CF8 #F87C94
square
#D2F87C #7CF8E0 #A27CF8 #F87C94
split-complementary
#D2F87C #7C94F8 #E07CF8
monochromatic
#A8ED0D #BEF542 #D2F87C #E6FBB6 #F5FDE2

Accessibility & contrast

On white

1.20
#D2F87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#D2F87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F87C
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F87C#FFFFFF#000000##000000
##D2F87C1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#DAEEDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d2f87c;
/* rgb */ color: rgb(210, 248, 124);
/* oklch */ color: oklch(92.6% 0.157 123.5);
Tailwind
colors: {
  custom: {
    50: '#e2faa5',
    500: '#d2f87c',
    950: '#000000',
  },
}
SCSS
$custom: #d2f87c;
$custom-light: #e2faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f87c",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 78.387,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92643,
    "c": 0.1568,
    "h": 123.5
  },
  "luminance": 0.82292
}

Semantic roles & 50–950 ramp

primary
#D2F87C
secondary
#7044D4
accent
#00E646
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F87C

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

Preview Lab → · Contrast checker → · Palette generator →

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