#D1F87A#D1F87A

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

Color values

HEX#D1F87A
RGBrgb(209, 248, 122)
HSLhsl(79, 90%, 73%)
HSVhsv(79, 51%, 97%)
CMYKcmyk(15.7%, 0%, 50.8%, 2.7%)
CIE-LABlab(92.62, -31.36, 55.82)
CIE-LCHlch(92.62, 64.02, 119.33°)
OKLaboklab(92.55% -0.0883 0.1323)
OKLCHoklch(92.55% 0.159 123.7)
XYZxyz(63.3749, 82.0949, 30.9157)
Luminance0.8209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F87A #A17AF8
analogous
#F8E07A #D1F87A #92F87A
triadic
#D1F87A #7AD1F8 #F87AD1
tetradic
#D1F87A #7AF8E0 #A17AF8 #F87A92
square
#D1F87A #7AF8E0 #A17AF8 #F87A92
split-complementary
#D1F87A #7A92F8 #E07AF8
monochromatic
#A6EB0C #BDF540 #D1F87A #E5FBB4 #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1F87A#FFFFFF#000000##000000
##D1F87A1.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)
#FFEB6E
Deuteranopia (green-blind)
#FFEA81
Tritanopia (blue-blind)
#D9EEDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d1f87a;
/* rgb */ color: rgb(209, 248, 122);
/* oklch */ color: oklch(92.5% 0.159 123.7);
Tailwind
colors: {
  custom: {
    50: '#e1faa3',
    500: '#d1f87a',
    950: '#000000',
  },
}
SCSS
$custom: #d1f87a;
$custom-light: #e1faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f87a",
  "rgb": {
    "r": 209,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 78.571,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9255,
    "c": 0.15907,
    "h": 123.7
  },
  "luminance": 0.82095
}

Semantic roles & 50–950 ramp

primary
#D1F87A
secondary
#6F42D4
accent
#00E647
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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