#D1F978#D1F978

#D1F978 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.7% C 0.162 H 123.8°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#D1F978
RGBrgb(209, 249, 120)
HSLhsl(79, 91%, 72%)
HSVhsv(79, 52%, 98%)
CMYKcmyk(16.1%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.87, -32.01, 57.02)
CIE-LCHlch(92.87, 65.39, 119.31°)
OKLaboklab(92.74% -0.0903 0.1348)
OKLCHoklch(92.74% 0.162 123.8)
XYZxyz(63.5605, 82.6624, 30.3725)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F978 #A078F9
analogous
#F9E178 #D1F978 #90F978
triadic
#D1F978 #78D1F9 #F978D1
tetradic
#D1F978 #78F9E1 #A078F9 #F97890
square
#D1F978 #78F9E1 #A078F9 #F97890
split-complementary
#D1F978 #7890F9 #E178F9
monochromatic
#A6EC0A #BDF63D #D1F978 #E5FCB3 #F5FEE2

Accessibility & contrast

On white

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

On black

17.53
#D1F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F978
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F978#FFFFFF#000000##000000
##D1F9781.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#D9EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d1f978;
/* rgb */ color: rgb(209, 249, 120);
/* oklch */ color: oklch(92.7% 0.162 123.8);
Tailwind
colors: {
  custom: {
    50: '#e1fba2',
    500: '#d1f978',
    950: '#000000',
  },
}
SCSS
$custom: #d1f978;
$custom-light: #e1fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f978",
  "rgb": {
    "r": 209,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 78.605,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92744,
    "c": 0.16222,
    "h": 123.8
  },
  "luminance": 0.82663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1F978

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

Preview Lab → · Contrast checker → · Palette generator →

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