#D2F87F#D2F87F

#D2F87F is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.7% C 0.154 H 123.8°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#D2F87F
RGBrgb(210, 248, 127)
HSLhsl(79, 90%, 74%)
HSVhsv(79, 49%, 97%)
CMYKcmyk(15.3%, 0%, 48.8%, 2.7%)
CIE-LABlab(92.74, -30.50, 53.68)
CIE-LCHlch(92.74, 61.74, 119.61°)
OKLaboklab(92.68% -0.0855 0.128)
OKLCHoklch(92.68% 0.154 123.8)
XYZxyz(63.9766, 82.3684, 32.6028)
Luminance0.8237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F87F #A57FF8
analogous
#F8E17F #D2F87F #95F87F
triadic
#D2F87F #7FD2F8 #F87FD2
tetradic
#D2F87F #7FF8E1 #A57FF8 #F87F95
square
#D2F87F #7FF8E1 #A57FF8 #F87F95
split-complementary
#D2F87F #7F95F8 #E17FF8
monochromatic
#A8F00D #BEF545 #D2F87F #E6FBB9 #F5FDE2

Accessibility & contrast

On white

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

On black

17.47
#D2F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F87F
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F87F#FFFFFF#000000##000000
##D2F87F1.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f87f;
/* rgb */ color: rgb(210, 248, 127);
/* oklch */ color: oklch(92.7% 0.154 123.8);
Tailwind
colors: {
  custom: {
    50: '#e2faa7',
    500: '#d2f87f',
    950: '#000000',
  },
}
SCSS
$custom: #d2f87f;
$custom-light: #e2faa7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f87f",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 78.843,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92681,
    "c": 0.15394,
    "h": 123.8
  },
  "luminance": 0.82369
}

Semantic roles & 50–950 ramp

primary
#D2F87F
secondary
#7346D5
accent
#00E648
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#161710
muted
#848580

Preview Lab

Preview with #D2F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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