#D2F878#D2F878

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

Color values

HEX#D2F878
RGBrgb(210, 248, 120)
HSLhsl(78, 90%, 72%)
HSVhsv(78, 52%, 97%)
CMYKcmyk(15.3%, 0%, 51.6%, 2.7%)
CIE-LABlab(92.66, -31.18, 56.79)
CIE-LCHlch(92.66, 64.79, 118.76°)
OKLaboklab(92.59% -0.088 0.1343)
OKLCHoklch(92.59% 0.161 123.2)
XYZxyz(63.5361, 82.1922, 30.2831)
Luminance0.8219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F878 #9E78F8
analogous
#F8DE78 #D2F878 #92F878
triadic
#D2F878 #78D2F8 #F878D2
tetradic
#D2F878 #78F8DE #9E78F8 #F87892
square
#D2F878 #78F8DE #9E78F8 #F87892
split-complementary
#D2F878 #7892F8 #DE78F8
monochromatic
#A8E90C #BFF53E #D2F878 #E5FBB2 #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2F878#FFFFFF#000000##000000
##D2F8781.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)
#FFEB6C
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#DAEDDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d2f878;
/* rgb */ color: rgb(210, 248, 120);
/* oklch */ color: oklch(92.6% 0.161 123.2);
Tailwind
colors: {
  custom: {
    50: '#e2faa2',
    500: '#d2f878',
    950: '#000000',
  },
}
SCSS
$custom: #d2f878;
$custom-light: #e2faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f878",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 77.813,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92594,
    "c": 0.16054,
    "h": 123.2
  },
  "luminance": 0.82193
}

Semantic roles & 50–950 ramp

primary
#D2F878
secondary
#6C40D4
accent
#00E644
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F878

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

Preview Lab → · Contrast checker → · Palette generator →

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