#D8F87B#D8F87B

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

Color values

HEX#D8F87B
RGBrgb(216, 248, 123)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 50%, 97%)
CMYKcmyk(12.9%, 0%, 50.4%, 2.7%)
CIE-LABlab(93.09, -28.64, 56.03)
CIE-LCHlch(93.09, 62.93, 117.08°)
OKLaboklab(93.05% -0.0809 0.1328)
OKLCHoklch(93.05% 0.156 121.4)
XYZxyz(65.4618, 83.1638, 31.3386)
Luminance0.8316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F87B #9B7BF8
analogous
#F8D97B #D8F87B #99F87B
triadic
#D8F87B #7BD8F8 #F87BD8
tetradic
#D8F87B #7BF8D9 #9B7BF8 #F87B99
square
#D8F87B #7BF8D9 #9B7BF8 #F87B99
split-complementary
#D8F87B #7B99F8 #D97BF8
monochromatic
#B3EC0D #C7F541 #D8F87B #E9FBB5 #F6FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F87B#FFFFFF#000000##000000
##D8F87B1.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)
#FFEC70
Deuteranopia (green-blind)
#FFEB82
Tritanopia (blue-blind)
#E1EDDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f87b;
/* rgb */ color: rgb(216, 248, 123);
/* oklch */ color: oklch(93.0% 0.156 121.4);
Tailwind
colors: {
  custom: {
    50: '#e6faa4',
    500: '#d8f87b',
    950: '#000000',
  },
}
SCSS
$custom: #d8f87b;
$custom-light: #e6faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f87b",
  "rgb": {
    "r": 216,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 75.36,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93047,
    "c": 0.15551,
    "h": 121.4
  },
  "luminance": 0.83164
}

Semantic roles & 50–950 ramp

primary
#D8F87B
secondary
#6843D4
accent
#00E63B
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F87B

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

Preview Lab → · Contrast checker → · Palette generator →

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