#D1F97C#D1F97C

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

Color values

HEX#D1F97C
RGBrgb(209, 249, 124)
HSLhsl(79, 91%, 73%)
HSVhsv(79, 50%, 98%)
CMYKcmyk(16.1%, 0%, 50.2%, 2.4%)
CIE-LABlab(92.91, -31.63, 55.25)
CIE-LCHlch(92.91, 63.67, 119.79°)
OKLaboklab(92.79% -0.0889 0.1312)
OKLCHoklch(92.79% 0.159 124.1)
XYZxyz(63.8083, 82.7615, 31.6778)
Luminance0.8276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F97C #A47CF9
analogous
#F9E27C #D1F97C #92F97C
triadic
#D1F97C #7CD1F9 #F97CD1
tetradic
#D1F97C #7CF9E2 #A47CF9 #F97C92
square
#D1F97C #7CF9E2 #A47CF9 #F97C92
split-complementary
#D1F97C #7C92F9 #E27CF9
monochromatic
#A6F00B #BCF641 #D1F97C #E6FCB7 #F5FEE2

Accessibility & contrast

On white

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

On black

17.55
#D1F97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F97C
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F97C#FFFFFF#000000##000000
##D1F97C1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#D9EFDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d1f97c;
/* rgb */ color: rgb(209, 249, 124);
/* oklch */ color: oklch(92.8% 0.159 124.1);
Tailwind
colors: {
  custom: {
    50: '#e1fba5',
    500: '#d1f97c',
    950: '#000000',
  },
}
SCSS
$custom: #d1f97c;
$custom-light: #e1fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f97c",
  "rgb": {
    "r": 209,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 79.2,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92793,
    "c": 0.1585,
    "h": 124.1
  },
  "luminance": 0.82762
}

Semantic roles & 50–950 ramp

primary
#D1F97C
secondary
#7244D6
accent
#00E649
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F97C

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

Preview Lab → · Contrast checker → · Palette generator →

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