#D2F578#D2F578

#D2F578 is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.9% C 0.157 H 122.5°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#D2F578
RGBrgb(210, 245, 120)
HSLhsl(77, 86%, 72%)
HSVhsv(77, 51%, 96%)
CMYKcmyk(14.3%, 0%, 51%, 3.9%)
CIE-LABlab(91.85, -29.78, 55.83)
CIE-LCHlch(91.85, 63.28, 118.08°)
OKLaboklab(91.94% -0.0841 0.1322)
OKLCHoklch(91.94% 0.157 122.5)
XYZxyz(62.6212, 80.3624, 29.9781)
Luminance0.8036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F578 #9B78F5
analogous
#F5DA78 #D2F578 #94F578
triadic
#D2F578 #78D2F5 #F578D2
tetradic
#D2F578 #78F5DA #9B78F5 #F57894
square
#D2F578 #78F5DA #9B78F5 #F57894
split-complementary
#D2F578 #7894F5 #DA78F5
monochromatic
#A7E211 #BFF13F #D2F578 #E5F9B1 #F6FDE3

Accessibility & contrast

On white

1.23
#D2F578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#D2F578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F578
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F578#FFFFFF#000000##000000
##D2F5781.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86C
Deuteranopia (green-blind)
#FDE87F
Tritanopia (blue-blind)
#DBEBD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d2f578;
/* rgb */ color: rgb(210, 245, 120);
/* oklch */ color: oklch(91.9% 0.157 122.5);
Tailwind
colors: {
  custom: {
    50: '#e2f8a2',
    500: '#d2f578',
    950: '#000000',
  },
}
SCSS
$custom: #d2f578;
$custom-light: #e2f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f578",
  "rgb": {
    "r": 210,
    "g": 245,
    "b": 120
  },
  "hsl": {
    "h": 76.8,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9194,
    "c": 0.15666,
    "h": 122.5
  },
  "luminance": 0.80363
}

Semantic roles & 50–950 ramp

primary
#D2F578
secondary
#6941D0
accent
#03E341
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F578

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

Preview Lab → · Contrast checker → · Palette generator →

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