#D8F989#D8F989

#D8F989 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.4% C 0.143 H 122.7°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#D8F989
RGBrgb(216, 249, 137)
HSLhsl(78, 90%, 76%)
HSVhsv(78, 45%, 98%)
CMYKcmyk(13.3%, 0%, 45%, 2.4%)
CIE-LABlab(93.52, -27.72, 50.03)
CIE-LCHlch(93.52, 57.19, 118.99°)
OKLaboklab(93.45% -0.0772 0.1205)
OKLCHoklch(93.45% 0.143 122.7)
XYZxyz(66.7100, 84.1563, 36.3914)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F989 #AA89F9
analogous
#F9E289 #D8F989 #A0F989
triadic
#D8F989 #89D8F9 #F989D8
tetradic
#D8F989 #89F9E2 #AA89F9 #F989A0
square
#D8F989 #89F9E2 #AA89F9 #F989A0
split-complementary
#D8F989 #89A0F9 #E289F9
monochromatic
#B2F315 #C5F64F #D8F989 #EBFCC3 #F5FEE2

Accessibility & contrast

On white

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

On black

17.83
#D8F989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F989
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F989#FFFFFF#000000##000000
##D8F9891.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED80
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#E0EFDF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8f989;
/* rgb */ color: rgb(216, 249, 137);
/* oklch */ color: oklch(93.4% 0.143 122.7);
Tailwind
colors: {
  custom: {
    50: '#e6fbad',
    500: '#d8f989',
    950: '#000000',
  },
}
SCSS
$custom: #d8f989;
$custom-light: #e6fbad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f989",
  "rgb": {
    "r": 216,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 77.679,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.93447,
    "c": 0.14313,
    "h": 122.7
  },
  "luminance": 0.84156
}

Semantic roles & 50–950 ramp

primary
#D8F989
secondary
#774FD7
accent
#00E644
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F989

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

Preview Lab → · Contrast checker → · Palette generator →

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