#D8F877#D8F877

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

Color values

HEX#D8F877
RGBrgb(216, 248, 119)
HSLhsl(75, 90%, 72%)
HSVhsv(75, 52%, 97%)
CMYKcmyk(12.9%, 0%, 52%, 2.7%)
CIE-LABlab(93.04, -29.01, 57.80)
CIE-LCHlch(93.04, 64.67, 116.65°)
OKLaboklab(93% -0.0823 0.1363)
OKLCHoklch(93% 0.159 121.1)
XYZxyz(65.2166, 83.0657, 30.0467)
Luminance0.8307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F877 #9777F8
analogous
#F8D877 #D8F877 #98F877
triadic
#D8F877 #77D8F8 #F877D8
tetradic
#D8F877 #77F8D8 #9777F8 #F87798
square
#D8F877 #77F8D8 #9777F8 #F87798
split-complementary
#D8F877 #7798F8 #D877F8
monochromatic
#B2E90C #C7F53D #D8F877 #E9FBB1 #F7FEE2

Accessibility & contrast

On white

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

On black

17.61
#D8F877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F877
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F877#FFFFFF#000000##000000
##D8F8771.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#E2EDDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f877;
/* rgb */ color: rgb(216, 248, 119);
/* oklch */ color: oklch(93.0% 0.159 121.1);
Tailwind
colors: {
  custom: {
    50: '#e6faa1',
    500: '#d8f877',
    950: '#000000',
  },
}
SCSS
$custom: #d8f877;
$custom-light: #e6faa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f877",
  "rgb": {
    "r": 216,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 74.884,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.92999,
    "c": 0.15922,
    "h": 121.1
  },
  "luminance": 0.83066
}

Semantic roles & 50–950 ramp

primary
#D8F877
secondary
#643FD4
accent
#00E639
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F877

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

Preview Lab → · Contrast checker → · Palette generator →

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