#D2F879#D2F879

#D2F879 is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.6% C 0.160 H 123.3°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#D2F879
RGBrgb(210, 248, 121)
HSLhsl(78, 90%, 72%)
HSVhsv(78, 51%, 97%)
CMYKcmyk(15.3%, 0%, 51.2%, 2.7%)
CIE-LABlab(92.67, -31.08, 56.35)
CIE-LCHlch(92.67, 64.36, 118.88°)
OKLaboklab(92.61% -0.0876 0.1334)
OKLCHoklch(92.61% 0.16 123.3)
XYZxyz(63.5971, 82.2167, 30.6044)
Luminance0.8222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F879 #9F79F8
analogous
#F8DF79 #D2F879 #92F879
triadic
#D2F879 #79D2F8 #F879D2
tetradic
#D2F879 #79F8DF #9F79F8 #F87992
square
#D2F879 #79F8DF #9F79F8 #F87992
split-complementary
#D2F879 #7992F8 #DF79F8
monochromatic
#A8EA0C #BEF53F #D2F879 #E6FBB3 #F5FDE2

Accessibility & contrast

On white

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

On black

17.44
#D2F879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F879
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F879#FFFFFF#000000##000000
##D2F8791.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f879;
/* rgb */ color: rgb(210, 248, 121);
/* oklch */ color: oklch(92.6% 0.160 123.3);
Tailwind
colors: {
  custom: {
    50: '#e2faa3',
    500: '#d2f879',
    950: '#000000',
  },
}
SCSS
$custom: #d2f879;
$custom-light: #e2faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f879",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 77.953,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92606,
    "c": 0.15961,
    "h": 123.3
  },
  "luminance": 0.82217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2F879

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

Preview Lab → · Contrast checker → · Palette generator →

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