#D2F778#D2F778

#D2F778 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.4% C 0.159 H 123.0°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#D2F778
RGBrgb(210, 247, 120)
HSLhsl(77, 89%, 72%)
HSVhsv(77, 51%, 97%)
CMYKcmyk(15%, 0%, 51.4%, 3.1%)
CIE-LABlab(92.39, -30.71, 56.47)
CIE-LCHlch(92.39, 64.29, 118.54°)
OKLaboklab(92.38% -0.0867 0.1336)
OKLCHoklch(92.38% 0.159 123)
XYZxyz(63.2295, 81.5790, 30.1809)
Luminance0.8158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F778 #9D78F7
analogous
#F7DC78 #D2F778 #93F778
triadic
#D2F778 #78D2F7 #F778D2
tetradic
#D2F778 #78F7DC #9D78F7 #F77893
square
#D2F778 #78F7DC #9D78F7 #F77893
split-complementary
#D2F778 #7893F7 #DC78F7
monochromatic
#A8E70E #BFF43E #D2F778 #E5FAB2 #F5FDE2

Accessibility & contrast

On white

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

On black

17.32
#D2F778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F778
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F778#FFFFFF#000000##000000
##D2F7781.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#DAEDDA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d2f778;
/* rgb */ color: rgb(210, 247, 120);
/* oklch */ color: oklch(92.4% 0.159 123.0);
Tailwind
colors: {
  custom: {
    50: '#e2faa2',
    500: '#d2f778',
    950: '#000000',
  },
}
SCSS
$custom: #d2f778;
$custom-light: #e2faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f778",
  "rgb": {
    "r": 210,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 77.48,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92376,
    "c": 0.15924,
    "h": 123
  },
  "luminance": 0.81579
}

Semantic roles & 50–950 ramp

primary
#D2F778
secondary
#6B41D3
accent
#00E543
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F778

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

Preview Lab → · Contrast checker → · Palette generator →

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