#D8F579#D8F579

#D8F579 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.4% C 0.154 H 120.4°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#D8F579
RGBrgb(216, 245, 121)
HSLhsl(74, 86%, 72%)
HSVhsv(74, 51%, 96%)
CMYKcmyk(11.8%, 0%, 50.6%, 3.9%)
CIE-LABlab(92.26, -27.42, 55.96)
CIE-LCHlch(92.26, 62.32, 116.10°)
OKLaboklab(92.38% -0.0777 0.1325)
OKLCHoklch(92.38% 0.154 120.4)
XYZxyz(64.4230, 81.2844, 30.3810)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F579 #9679F5
analogous
#F5D479 #D8F579 #9AF579
triadic
#D8F579 #79D8F5 #F579D8
tetradic
#D8F579 #79F5D4 #9679F5 #F5799A
square
#D8F579 #79F5D4 #9679F5 #F5799A
split-complementary
#D8F579 #799AF5 #D479F5
monochromatic
#B2E311 #C7F140 #D8F579 #E9F9B2 #F7FDE3

Accessibility & contrast

On white

1.22
#D8F579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#D8F579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F579
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F579#FFFFFF#000000##000000
##D8F5791.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96E
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#E2EAD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f579;
/* rgb */ color: rgb(216, 245, 121);
/* oklch */ color: oklch(92.4% 0.154 120.4);
Tailwind
colors: {
  custom: {
    50: '#e6f8a3',
    500: '#d8f579',
    950: '#000000',
  },
}
SCSS
$custom: #d8f579;
$custom-light: #e6f8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f579",
  "rgb": {
    "r": 216,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 74.032,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92375,
    "c": 0.15357,
    "h": 120.4
  },
  "luminance": 0.81284
}

Semantic roles & 50–950 ramp

primary
#D8F579
secondary
#6342D0
accent
#03E337
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F579

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

Preview Lab → · Contrast checker → · Palette generator →

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