#D1F87B#D1F87B

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

Color values

HEX#D1F87B
RGBrgb(209, 248, 123)
HSLhsl(79, 90%, 73%)
HSVhsv(79, 50%, 97%)
CMYKcmyk(15.7%, 0%, 50.4%, 2.7%)
CIE-LABlab(92.63, -31.27, 55.37)
CIE-LCHlch(92.63, 63.59, 119.45°)
OKLaboklab(92.56% -0.0879 0.1314)
OKLCHoklch(92.56% 0.158 123.8)
XYZxyz(63.4372, 82.1198, 31.2437)
Luminance0.8212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F87B #A27BF8
analogous
#F8E07B #D1F87B #92F87B
triadic
#D1F87B #7BD1F8 #F87BD1
tetradic
#D1F87B #7BF8E0 #A27BF8 #F87B92
square
#D1F87B #7BF8E0 #A27BF8 #F87B92
split-complementary
#D1F87B #7B92F8 #E07BF8
monochromatic
#A6EC0D #BDF541 #D1F87B #E5FBB5 #F5FDE2

Accessibility & contrast

On white

1.21
#D1F87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#D1F87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F87B
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F87B#FFFFFF#000000##000000
##D1F87B1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f87b;
/* rgb */ color: rgb(209, 248, 123);
/* oklch */ color: oklch(92.6% 0.158 123.8);
Tailwind
colors: {
  custom: {
    50: '#e1faa4',
    500: '#d1f87b',
    950: '#000000',
  },
}
SCSS
$custom: #d1f87b;
$custom-light: #e1faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f87b",
  "rgb": {
    "r": 209,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 78.72,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92562,
    "c": 0.15813,
    "h": 123.8
  },
  "luminance": 0.8212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1F87B

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

Preview Lab → · Contrast checker → · Palette generator →

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