#D1F879#D1F879

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

Color values

HEX#D1F879
RGBrgb(209, 248, 121)
HSLhsl(78, 90%, 72%)
HSVhsv(78, 51%, 97%)
CMYKcmyk(15.7%, 0%, 51.2%, 2.7%)
CIE-LABlab(92.61, -31.46, 56.26)
CIE-LCHlch(92.61, 64.46, 119.21°)
OKLaboklab(92.54% -0.0887 0.1332)
OKLCHoklch(92.54% 0.16 123.6)
XYZxyz(63.3132, 82.0703, 30.5911)
Luminance0.8207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F879 #A079F8
analogous
#F8DF79 #D1F879 #92F879
triadic
#D1F879 #79D1F8 #F879D1
tetradic
#D1F879 #79F8DF #A079F8 #F87992
square
#D1F879 #79F8DF #A079F8 #F87992
split-complementary
#D1F879 #7992F8 #DF79F8
monochromatic
#A6EA0C #BDF53F #D1F879 #E5FBB3 #F5FDE2

Accessibility & contrast

On white

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

On black

17.41
#D1F879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F879
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F879#FFFFFF#000000##000000
##D1F8791.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6D
Deuteranopia (green-blind)
#FFEA81
Tritanopia (blue-blind)
#D9EEDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d1f879;
/* rgb */ color: rgb(209, 248, 121);
/* oklch */ color: oklch(92.5% 0.160 123.6);
Tailwind
colors: {
  custom: {
    50: '#e1faa3',
    500: '#d1f879',
    950: '#000000',
  },
}
SCSS
$custom: #d1f879;
$custom-light: #e1faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f879",
  "rgb": {
    "r": 209,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 78.425,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92537,
    "c": 0.16,
    "h": 123.6
  },
  "luminance": 0.82071
}

Semantic roles & 50–950 ramp

primary
#D1F879
secondary
#6E41D4
accent
#00E646
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F879

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

Preview Lab → · Contrast checker → · Palette generator →

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