#D4F878#D4F878

#D4F878 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.160 H 122.6°. Best body text is #000000 at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#D4F878
RGBrgb(212, 248, 120)
HSLhsl(77, 90%, 72%)
HSVhsv(77, 52%, 97%)
CMYKcmyk(14.5%, 0%, 51.6%, 2.7%)
CIE-LABlab(92.79, -30.43, 56.98)
CIE-LCHlch(92.79, 64.59, 118.10°)
OKLaboklab(92.73% -0.086 0.1347)
OKLCHoklch(92.73% 0.16 122.6)
XYZxyz(64.1092, 82.4878, 30.3100)
Luminance0.8249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F878 #9C78F8
analogous
#F8DC78 #D4F878 #94F878
triadic
#D4F878 #78D4F8 #F878D4
tetradic
#D4F878 #78F8DC #9C78F8 #F87894
square
#D4F878 #78F8DC #9C78F8 #F87894
split-complementary
#D4F878 #7894F8 #DC78F8
monochromatic
#ABE90C #C1F53E #D4F878 #E7FBB2 #F6FDE2

Accessibility & contrast

On white

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

On black

17.50
#D4F878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F878
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F878#FFFFFF#000000##000000
##D4F8781.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFEA80
Tritanopia (blue-blind)
#DDEDDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d4f878;
/* rgb */ color: rgb(212, 248, 120);
/* oklch */ color: oklch(92.7% 0.160 122.6);
Tailwind
colors: {
  custom: {
    50: '#e3faa2',
    500: '#d4f878',
    950: '#000000',
  },
}
SCSS
$custom: #d4f878;
$custom-light: #e3faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f878",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 76.875,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.92731,
    "c": 0.15977,
    "h": 122.6
  },
  "luminance": 0.82488
}

Semantic roles & 50–950 ramp

primary
#D4F878
secondary
#6A40D4
accent
#00E641
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F878

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

Preview Lab → · Contrast checker → · Palette generator →

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