#D8F980#D8F980

#D8F980 is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.3% C 0.152 H 122.0°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#D8F980
RGBrgb(216, 249, 128)
HSLhsl(76, 91%, 74%)
HSVhsv(76, 49%, 98%)
CMYKcmyk(13.3%, 0%, 48.6%, 2.4%)
CIE-LABlab(93.41, -28.63, 54.12)
CIE-LCHlch(93.41, 61.22, 117.88°)
OKLaboklab(93.33% -0.0805 0.129)
OKLCHoklch(93.33% 0.152 122)
XYZxyz(66.0911, 83.9087, 33.1321)
Luminance0.8391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F980 #A180F9
analogous
#F9DE80 #D8F980 #9CF980
triadic
#D8F980 #80D8F9 #F980D8
tetradic
#D8F980 #80F9DE #A180F9 #F9809C
square
#D8F980 #80F9DE #A180F9 #F9809C
split-complementary
#D8F980 #809CF9 #DE80F9
monochromatic
#B4F30B #C6F646 #D8F980 #EAFCBA #F6FEE2

Accessibility & contrast

On white

1.18
#D8F980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#D8F980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F980
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F980#FFFFFF#000000##000000
##D8F9801.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED75
Deuteranopia (green-blind)
#FFEC87
Tritanopia (blue-blind)
#E1EFDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8f980;
/* rgb */ color: rgb(216, 249, 128);
/* oklch */ color: oklch(93.3% 0.152 122.0);
Tailwind
colors: {
  custom: {
    50: '#e6fba7',
    500: '#d8f980',
    950: '#000000',
  },
}
SCSS
$custom: #d8f980;
$custom-light: #e6fba7;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f980",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 76.364,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93326,
    "c": 0.15203,
    "h": 122
  },
  "luminance": 0.83909
}

Semantic roles & 50–950 ramp

primary
#D8F980
secondary
#6E47D6
accent
#00E63F
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F980

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

Preview Lab → · Contrast checker → · Palette generator →

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