#D8FF51#D8FF51

#D8FF51 is a very light, vivid yellow-green. Relative luminance 0.867; OKLCH L 94.2% C 0.197 H 121.3°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#D8FF51
RGBrgb(216, 255, 81)
HSLhsl(73, 100%, 66%)
HSVhsv(73, 68%, 100%)
CMYKcmyk(15.3%, 0%, 68.2%, 0%)
CIE-LABlab(94.62, -35.01, 75.04)
CIE-LCHlch(94.62, 82.81, 115.01°)
OKLaboklab(94.16% -0.1025 0.1685)
OKLCHoklch(94.16% 0.197 121.3)
XYZxyz(65.5651, 86.7130, 21.0662)
Luminance0.8671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FF51 #7851FF
analogous
#FFCF51 #D8FF51 #81FF51
triadic
#D8FF51 #51D8FF #FF51D8
tetradic
#D8FF51 #51FFCF #7851FF #FF5181
square
#D8FF51 #51FFCF #7851FF #FF5181
split-complementary
#D8FF51 #5181FF #CF51FF
monochromatic
#A6D600 #CAFF14 #D8FF51 #E6FF8E #F3FFCB

Accessibility & contrast

On white

1.14
#D8FF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.34
#D8FF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FF51
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FF51#FFFFFF#000000##000000
##D8FF511.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF035
Deuteranopia (green-blind)
#FFF05F
Tritanopia (blue-blind)
#E3F2DD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #d8ff51;
/* rgb */ color: rgb(216, 255, 81);
/* oklch */ color: oklch(94.2% 0.197 121.3);
Tailwind
colors: {
  custom: {
    50: '#e8ff8b',
    500: '#d8ff51',
    950: '#000000',
  },
}
SCSS
$custom: #d8ff51;
$custom-light: #e8ff8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ff51",
  "rgb": {
    "r": 216,
    "g": 255,
    "b": 81
  },
  "hsl": {
    "h": 73.448,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.94162,
    "c": 0.19717,
    "h": 121.3
  },
  "luminance": 0.86713
}

Semantic roles & 50–950 ramp

primary
#D8FF51
secondary
#4B25D0
accent
#00E633
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16180D
muted
#85867F

Preview Lab

Preview with #D8FF51

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

Preview Lab → · Contrast checker → · Palette generator →

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