#D1F87C#D1F87C

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

Color values

HEX#D1F87C
RGBrgb(209, 248, 124)
HSLhsl(79, 90%, 73%)
HSVhsv(79, 50%, 97%)
CMYKcmyk(15.7%, 0%, 50%, 2.7%)
CIE-LABlab(92.64, -31.17, 54.93)
CIE-LCHlch(92.64, 63.16, 119.57°)
OKLaboklab(92.58% -0.0876 0.1305)
OKLCHoklch(92.58% 0.157 123.9)
XYZxyz(63.5001, 82.1450, 31.5751)
Luminance0.8215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F87C #A37CF8
analogous
#F8E17C #D1F87C #93F87C
triadic
#D1F87C #7CD1F8 #F87CD1
tetradic
#D1F87C #7CF8E1 #A37CF8 #F87C93
square
#D1F87C #7CF8E1 #A37CF8 #F87C93
split-complementary
#D1F87C #7C93F8 #E17CF8
monochromatic
#A6ED0D #BDF542 #D1F87C #E5FBB6 #F5FDE2

Accessibility & contrast

On white

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

On black

17.43
#D1F87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F87C
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F87C#FFFFFF#000000##000000
##D1F87C1.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f87c;
/* rgb */ color: rgb(209, 248, 124);
/* oklch */ color: oklch(92.6% 0.157 123.9);
Tailwind
colors: {
  custom: {
    50: '#e1faa5',
    500: '#d1f87c',
    950: '#000000',
  },
}
SCSS
$custom: #d1f87c;
$custom-light: #e1faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f87c",
  "rgb": {
    "r": 209,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 78.871,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92575,
    "c": 0.15719,
    "h": 123.9
  },
  "luminance": 0.82145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1F87C

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

Preview Lab → · Contrast checker → · Palette generator →

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