#D8F288#D8F288

#D8F288 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.9% C 0.135 H 120.4°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#D8F288
RGBrgb(216, 242, 136)
HSLhsl(75, 80%, 74%)
HSVhsv(75, 44%, 95%)
CMYKcmyk(10.7%, 0%, 43.8%, 5.1%)
CIE-LABlab(91.63, -24.51, 48.17)
CIE-LCHlch(91.63, 54.05, 116.97°)
OKLaboklab(91.93% -0.0683 0.1163)
OKLCHoklch(91.93% 0.135 120.4)
XYZxyz(64.5152, 79.8809, 35.3076)
Luminance0.7988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F288 #A288F2
analogous
#F2D788 #D8F288 #A3F288
triadic
#D8F288 #88D8F2 #F288D8
tetradic
#D8F288 #88F2D7 #A288F2 #F288A3
square
#D8F288 #88F2D7 #A288F2 #F288A3
split-complementary
#D8F288 #88A3F2 #D788F2
monochromatic
#B4E61A #C6EC51 #D8F288 #EAF8BF #F6FCE3

Accessibility & contrast

On white

1.24
#D8F288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#D8F288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F288
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F288#FFFFFF#000000##000000
##D8F2881.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE77F
Deuteranopia (green-blind)
#FAE78E
Tritanopia (blue-blind)
#E1E8D9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d8f288;
/* rgb */ color: rgb(216, 242, 136);
/* oklch */ color: oklch(91.9% 0.135 120.4);
Tailwind
colors: {
  custom: {
    50: '#e5f6ac',
    500: '#d8f288',
    950: '#000000',
  },
}
SCSS
$custom: #d8f288;
$custom-light: #e5f6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f288",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 74.717,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.9193,
    "c": 0.13485,
    "h": 120.4
  },
  "luminance": 0.79881
}

Semantic roles & 50–950 ramp

primary
#D8F288
secondary
#6F50CE
accent
#09DD3D
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F288

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

Preview Lab → · Contrast checker → · Palette generator →

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