#D1F97D#D1F97D

#D1F97D is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.158 H 124.2°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#D1F97D
RGBrgb(209, 249, 125)
HSLhsl(79, 91%, 73%)
HSVhsv(79, 50%, 98%)
CMYKcmyk(16.1%, 0%, 49.8%, 2.4%)
CIE-LABlab(92.92, -31.53, 54.81)
CIE-LCHlch(92.92, 63.23, 119.92°)
OKLaboklab(92.81% -0.0885 0.1303)
OKLCHoklch(92.81% 0.158 124.2)
XYZxyz(63.8719, 82.7869, 32.0126)
Luminance0.8279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F97D #A57DF9
analogous
#F9E37D #D1F97D #93F97D
triadic
#D1F97D #7DD1F9 #F97DD1
tetradic
#D1F97D #7DF9E3 #A57DF9 #F97D93
square
#D1F97D #7DF9E3 #A57DF9 #F97D93
split-complementary
#D1F97D #7D93F9 #E37DF9
monochromatic
#A6F00B #BCF642 #D1F97D #E6FCB7 #F5FEE2

Accessibility & contrast

On white

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

On black

17.56
#D1F97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F97D
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F97D#FFFFFF#000000##000000
##D1F97D1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC72
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#D9EFDD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d1f97d;
/* rgb */ color: rgb(209, 249, 125);
/* oklch */ color: oklch(92.8% 0.158 124.2);
Tailwind
colors: {
  custom: {
    50: '#e1fba5',
    500: '#d1f97d',
    950: '#000000',
  },
}
SCSS
$custom: #d1f97d;
$custom-light: #e1fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f97d",
  "rgb": {
    "r": 209,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 79.355,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92805,
    "c": 0.15756,
    "h": 124.2
  },
  "luminance": 0.82787
}

Semantic roles & 50–950 ramp

primary
#D1F97D
secondary
#7344D6
accent
#00E64A
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F97D

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

Preview Lab → · Contrast checker → · Palette generator →

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