#D8F982#D8F982

#D8F982 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.4% C 0.150 H 122.1°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#D8F982
RGBrgb(216, 249, 130)
HSLhsl(77, 91%, 74%)
HSVhsv(77, 48%, 98%)
CMYKcmyk(13.3%, 0%, 47.8%, 2.4%)
CIE-LABlab(93.43, -28.43, 53.22)
CIE-LCHlch(93.43, 60.34, 118.12°)
OKLaboklab(93.35% -0.0798 0.1271)
OKLCHoklch(93.35% 0.15 122.1)
XYZxyz(66.2241, 83.9619, 33.8322)
Luminance0.8396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F982 #A382F9
analogous
#F9DF82 #D8F982 #9DF982
triadic
#D8F982 #82D8F9 #F982D8
tetradic
#D8F982 #82F9DF #A382F9 #F9829D
square
#D8F982 #82F9DF #A382F9 #F9829D
split-complementary
#D8F982 #829DF9 #DF82F9
monochromatic
#B4F30D #C6F648 #D8F982 #EAFCBC #F6FEE2

Accessibility & contrast

On white

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

On black

17.79
#D8F982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F982
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F982#FFFFFF#000000##000000
##D8F9821.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8f982;
/* rgb */ color: rgb(216, 249, 130);
/* oklch */ color: oklch(93.4% 0.150 122.1);
Tailwind
colors: {
  custom: {
    50: '#e6fba9',
    500: '#d8f982',
    950: '#000000',
  },
}
SCSS
$custom: #d8f982;
$custom-light: #e6fba9;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f982",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 130
  },
  "hsl": {
    "h": 76.639,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93352,
    "c": 0.15009,
    "h": 122.1
  },
  "luminance": 0.83962
}

Semantic roles & 50–950 ramp

primary
#D8F982
secondary
#7049D6
accent
#00E640
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F982

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

Preview Lab → · Contrast checker → · Palette generator →

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