#D2F978#D2F978

#D2F978 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.162 H 123.5°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#D2F978
RGBrgb(210, 249, 120)
HSLhsl(78, 91%, 72%)
HSVhsv(78, 52%, 98%)
CMYKcmyk(15.7%, 0%, 51.8%, 2.4%)
CIE-LABlab(92.93, -31.64, 57.11)
CIE-LCHlch(92.93, 65.29, 118.98°)
OKLaboklab(92.81% -0.0893 0.135)
OKLCHoklch(92.81% 0.162 123.5)
XYZxyz(63.8444, 82.8088, 30.3859)
Luminance0.8281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F978 #9F78F9
analogous
#F9E078 #D2F978 #91F978
triadic
#D2F978 #78D2F9 #F978D2
tetradic
#D2F978 #78F9E0 #9F78F9 #F97891
square
#D2F978 #78F9E0 #9F78F9 #F97891
split-complementary
#D2F978 #7891F9 #E078F9
monochromatic
#A8EC0A #BEF63D #D2F978 #E6FCB3 #F5FEE2

Accessibility & contrast

On white

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

On black

17.56
#D2F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F978
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F978#FFFFFF#000000##000000
##D2F9781.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f978;
/* rgb */ color: rgb(210, 249, 120);
/* oklch */ color: oklch(92.8% 0.162 123.5);
Tailwind
colors: {
  custom: {
    50: '#e2fba2',
    500: '#d2f978',
    950: '#000000',
  },
}
SCSS
$custom: #d2f978;
$custom-light: #e2fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f978",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 78.14,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92812,
    "c": 0.16182,
    "h": 123.5
  },
  "luminance": 0.82809
}

Semantic roles & 50–950 ramp

primary
#D2F978
secondary
#6D40D5
accent
#00E645
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F978

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

Preview Lab → · Contrast checker → · Palette generator →

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