#D4F879#D4F879

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

Color values

HEX#D4F879
RGBrgb(212, 248, 121)
HSLhsl(77, 90%, 72%)
HSVhsv(77, 51%, 97%)
CMYKcmyk(14.5%, 0%, 51.2%, 2.7%)
CIE-LABlab(92.80, -30.33, 56.54)
CIE-LCHlch(92.80, 64.16, 118.21°)
OKLaboklab(92.74% -0.0857 0.1338)
OKLCHoklch(92.74% 0.159 122.6)
XYZxyz(64.1702, 82.5122, 30.6313)
Luminance0.8251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F879 #9D79F8
analogous
#F8DD79 #D4F879 #94F879
triadic
#D4F879 #79D4F8 #F879D4
tetradic
#D4F879 #79F8DD #9D79F8 #F87994
square
#D4F879 #79F8DD #9D79F8 #F87994
split-complementary
#D4F879 #7994F8 #DD79F8
monochromatic
#ABEA0C #C1F53F #D4F879 #E7FBB3 #F6FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4F879#FFFFFF#000000##000000
##D4F8791.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)
#FFEB6D
Deuteranopia (green-blind)
#FFEA81
Tritanopia (blue-blind)
#DDEDDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d4f879;
/* rgb */ color: rgb(212, 248, 121);
/* oklch */ color: oklch(92.7% 0.159 122.6);
Tailwind
colors: {
  custom: {
    50: '#e3faa3',
    500: '#d4f879',
    950: '#000000',
  },
}
SCSS
$custom: #d4f879;
$custom-light: #e3faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f879",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 77.008,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92743,
    "c": 0.15885,
    "h": 122.6
  },
  "luminance": 0.82512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4F879

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

Preview Lab → · Contrast checker → · Palette generator →

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