#D1F896#D1F896

#D1F896 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.9% C 0.131 H 126.5°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#D1F896
RGBrgb(209, 248, 150)
HSLhsl(84, 88%, 78%)
HSVhsv(84, 40%, 97%)
CMYKcmyk(15.7%, 0%, 39.5%, 2.7%)
CIE-LABlab(92.97, -28.34, 42.98)
CIE-LCHlch(92.97, 51.48, 123.40°)
OKLaboklab(92.95% -0.0779 0.1053)
OKLCHoklch(92.95% 0.131 126.5)
XYZxyz(65.3664, 82.8915, 41.4042)
Luminance0.8289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F896 #BD96F8
analogous
#F8EE96 #D1F896 #A0F896
triadic
#D1F896 #96D1F8 #F896D1
tetradic
#D1F896 #96F8EE #BD96F8 #F896A0
square
#D1F896 #96F8EE #BD96F8 #F896A0
split-complementary
#D1F896 #96A0F8 #EE96F8
monochromatic
#9FF023 #B8F45D #D1F896 #EAFCCF #F2FDE2

Accessibility & contrast

On white

1.19
#D1F896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#D1F896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F896
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F896#FFFFFF#000000##000000
##D1F8961.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#D6F0E0
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d1f896;
/* rgb */ color: rgb(209, 248, 150);
/* oklch */ color: oklch(92.9% 0.131 126.5);
Tailwind
colors: {
  custom: {
    50: '#e0fab6',
    500: '#d1f896',
    950: '#000000',
  },
}
SCSS
$custom: #d1f896;
$custom-light: #e0fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f896",
  "rgb": {
    "r": 209,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 83.878,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92945,
    "c": 0.13097,
    "h": 126.5
  },
  "luminance": 0.82892
}

Semantic roles & 50–950 ramp

primary
#D1F896
secondary
#8C5BD8
accent
#01E45C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D1F896

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

Preview Lab → · Contrast checker → · Palette generator →

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