#D2F87D#D2F87D

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

Color values

HEX#D2F87D
RGBrgb(210, 248, 125)
HSLhsl(79, 90%, 73%)
HSVhsv(79, 50%, 97%)
CMYKcmyk(15.3%, 0%, 49.6%, 2.7%)
CIE-LABlab(92.71, -30.70, 54.57)
CIE-LCHlch(92.71, 62.62, 119.36°)
OKLaboklab(92.66% -0.0862 0.1298)
OKLCHoklch(92.66% 0.156 123.6)
XYZxyz(63.8475, 82.3168, 31.9231)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F87D #A37DF8
analogous
#F8E17D #D2F87D #94F87D
triadic
#D2F87D #7DD2F8 #F87DD2
tetradic
#D2F87D #7DF8E1 #A37DF8 #F87D94
square
#D2F87D #7DF8E1 #A37DF8 #F87D94
split-complementary
#D2F87D #7D94F8 #E17DF8
monochromatic
#A8EE0D #BEF543 #D2F87D #E6FBB7 #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2F87D#FFFFFF#000000##000000
##D2F87D1.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)
#FFEB72
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#DAEEDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d2f87d;
/* rgb */ color: rgb(210, 248, 125);
/* oklch */ color: oklch(92.7% 0.156 123.6);
Tailwind
colors: {
  custom: {
    50: '#e2faa5',
    500: '#d2f87d',
    950: '#000000',
  },
}
SCSS
$custom: #d2f87d;
$custom-light: #e2faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f87d",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 78.537,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92656,
    "c": 0.15585,
    "h": 123.6
  },
  "luminance": 0.82317
}

Semantic roles & 50–950 ramp

primary
#D2F87D
secondary
#7145D4
accent
#00E647
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F87D

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

Preview Lab → · Contrast checker → · Palette generator →

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