#D1F87F#D1F87F

#D1F87F is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.6% C 0.154 H 124.1°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#D1F87F
RGBrgb(209, 248, 127)
HSLhsl(79, 90%, 74%)
HSVhsv(79, 49%, 97%)
CMYKcmyk(15.7%, 0%, 48.8%, 2.7%)
CIE-LABlab(92.67, -30.87, 53.58)
CIE-LCHlch(92.67, 61.84, 119.95°)
OKLaboklab(92.61% -0.0865 0.1278)
OKLCHoklch(92.61% 0.154 124.1)
XYZxyz(63.6927, 82.2220, 32.5895)
Luminance0.8222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F87F #A67FF8
analogous
#F8E37F #D1F87F #94F87F
triadic
#D1F87F #7FD1F8 #F87FD1
tetradic
#D1F87F #7FF8E3 #A67FF8 #F87F94
square
#D1F87F #7FF8E3 #A67FF8 #F87F94
split-complementary
#D1F87F #7F94F8 #E37FF8
monochromatic
#A7F00D #BCF545 #D1F87F #E6FBB9 #F5FDE2

Accessibility & contrast

On white

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

On black

17.44
#D1F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F87F
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F87F#FFFFFF#000000##000000
##D1F87F1.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f87f;
/* rgb */ color: rgb(209, 248, 127);
/* oklch */ color: oklch(92.6% 0.154 124.1);
Tailwind
colors: {
  custom: {
    50: '#e1faa7',
    500: '#d1f87f',
    950: '#000000',
  },
}
SCSS
$custom: #d1f87f;
$custom-light: #e1faa7;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f87f",
  "rgb": {
    "r": 209,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 79.339,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92613,
    "c": 0.15434,
    "h": 124.1
  },
  "luminance": 0.82222
}

Semantic roles & 50–950 ramp

primary
#D1F87F
secondary
#7446D5
accent
#00E64A
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #D1F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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