#D4FF97#D4FF97

#D4FF97 is a very light, vivid yellow-green. Relative luminance 0.878; OKLCH L 94.7% C 0.139 H 127.2°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#D4FF97
RGBrgb(212, 255, 151)
HSLhsl(85, 100%, 80%)
HSVhsv(85, 41%, 100%)
CMYKcmyk(16.9%, 0%, 40.8%, 0%)
CIE-LABlab(95.06, -30.41, 45.20)
CIE-LCHlch(95.06, 54.48, 123.94°)
OKLaboklab(94.68% -0.0837 0.1104)
OKLCHoklch(94.68% 0.139 127.2)
XYZxyz(68.4967, 87.7507, 42.6011)
Luminance0.8775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4FF97 #C297FF
analogous
#FFF697 #D4FF97 #A0FF97
triadic
#D4FF97 #97D4FF #FF97D4
tetradic
#D4FF97 #97FFF6 #C297FF #FF97A0
square
#D4FF97 #97FFF6 #C297FF #FF97A0
split-complementary
#D4FF97 #97A0FF #F697FF
monochromatic
#A1FF1D #BBFF5A #D4FF97 #EDFFD4 #F2FFE0

Accessibility & contrast

On white

1.13
#D4FF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#D4FF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4FF97
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4FF97#FFFFFF#000000##000000
##D4FF971.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF09D
Tritanopia (blue-blind)
#D9F6E6
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #d4ff97;
/* rgb */ color: rgb(212, 255, 151);
/* oklch */ color: oklch(94.7% 0.139 127.2);
Tailwind
colors: {
  custom: {
    50: '#e2ffb7',
    500: '#d4ff97',
    950: '#000000',
  },
}
SCSS
$custom: #d4ff97;
$custom-light: #e2ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ff97",
  "rgb": {
    "r": 212,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 84.808,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.94675,
    "c": 0.13855,
    "h": 127.2
  },
  "luminance": 0.87751
}

Semantic roles & 50–950 ramp

primary
#D4FF97
secondary
#9159E2
accent
#00E65F
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151811
muted
#848681

Preview Lab

Preview with #D4FF97

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

Preview Lab → · Contrast checker → · Palette generator →

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