#D7FF51#D7FF51

#D7FF51 is a very light, vivid yellow-green. Relative luminance 0.866; OKLCH L 94.1% C 0.198 H 121.6°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#D7FF51
RGBrgb(215, 255, 81)
HSLhsl(74, 100%, 66%)
HSVhsv(74, 68%, 100%)
CMYKcmyk(15.7%, 0%, 68.2%, 0%)
CIE-LABlab(94.55, -35.39, 74.96)
CIE-LCHlch(94.55, 82.89, 115.27°)
OKLaboklab(94.09% -0.1035 0.1683)
OKLCHoklch(94.09% 0.198 121.6)
XYZxyz(65.2705, 86.5611, 21.0524)
Luminance0.8656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7FF51 #7951FF
analogous
#FFD051 #D7FF51 #80FF51
triadic
#D7FF51 #51D7FF #FF51D7
tetradic
#D7FF51 #51FFD0 #7951FF #FF5180
square
#D7FF51 #51FFD0 #7951FF #FF5180
split-complementary
#D7FF51 #5180FF #D051FF
monochromatic
#A4D600 #C9FF14 #D7FF51 #E5FF8E #F3FFCB

Accessibility & contrast

On white

1.15
#D7FF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#D7FF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7FF51
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7FF51#FFFFFF#000000##000000
##D7FF511.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ff51;
/* rgb */ color: rgb(215, 255, 81);
/* oklch */ color: oklch(94.1% 0.198 121.6);
Tailwind
colors: {
  custom: {
    50: '#e7ff8b',
    500: '#d7ff51',
    950: '#000000',
  },
}
SCSS
$custom: #d7ff51;
$custom-light: #e7ff8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ff51",
  "rgb": {
    "r": 215,
    "g": 255,
    "b": 81
  },
  "hsl": {
    "h": 73.793,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.94094,
    "c": 0.19757,
    "h": 121.6
  },
  "luminance": 0.86561
}

Semantic roles & 50–950 ramp

primary
#D7FF51
secondary
#4C25D0
accent
#00E635
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16180D
muted
#85867F

Preview Lab

Preview with #D7FF51

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

Preview Lab → · Contrast checker → · Palette generator →

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