#D8F87A#D8F87A

#D8F87A is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 93.0% C 0.156 H 121.3°. Best body text is #000000 at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#D8F87A
RGBrgb(216, 248, 122)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 51%, 97%)
CMYKcmyk(12.9%, 0%, 50.8%, 2.7%)
CIE-LABlab(93.08, -28.73, 56.47)
CIE-LCHlch(93.08, 63.36, 116.97°)
OKLaboklab(93.04% -0.0813 0.1337)
OKLCHoklch(93.04% 0.156 121.3)
XYZxyz(65.3996, 83.1389, 31.0106)
Luminance0.8314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F87A #9A7AF8
analogous
#F8D97A #D8F87A #99F87A
triadic
#D8F87A #7AD8F8 #F87AD8
tetradic
#D8F87A #7AF8D9 #9A7AF8 #F87A99
square
#D8F87A #7AF8D9 #9A7AF8 #F87A99
split-complementary
#D8F87A #7A99F8 #D97AF8
monochromatic
#B3EB0C #C7F540 #D8F87A #E9FBB4 #F6FDE2

Accessibility & contrast

On white

1.19
#D8F87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.63
#D8F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F87A
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F87A#FFFFFF#000000##000000
##D8F87A1.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFEB81
Tritanopia (blue-blind)
#E1EDDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f87a;
/* rgb */ color: rgb(216, 248, 122);
/* oklch */ color: oklch(93.0% 0.156 121.3);
Tailwind
colors: {
  custom: {
    50: '#e6faa3',
    500: '#d8f87a',
    950: '#000000',
  },
}
SCSS
$custom: #d8f87a;
$custom-light: #e6faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f87a",
  "rgb": {
    "r": 216,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 75.238,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93035,
    "c": 0.15645,
    "h": 121.3
  },
  "luminance": 0.83139
}

Semantic roles & 50–950 ramp

primary
#D8F87A
secondary
#6742D4
accent
#00E63A
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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