#D9FF52#D9FF52

#D9FF52 is a very light, vivid yellow-green. Relative luminance 0.869; OKLCH L 94.2% C 0.196 H 121.1°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#D9FF52
RGBrgb(217, 255, 82)
HSLhsl(73, 100%, 66%)
HSVhsv(73, 68%, 100%)
CMYKcmyk(14.9%, 0%, 67.8%, 0%)
CIE-LABlab(94.69, -34.56, 74.78)
CIE-LCHlch(94.69, 82.38, 114.81°)
OKLaboklab(94.24% -0.1012 0.168)
OKLCHoklch(94.24% 0.196 121.1)
XYZxyz(65.8993, 86.8810, 21.2790)
Luminance0.8688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9FF52 #7852FF
analogous
#FFCE52 #D9FF52 #82FF52
triadic
#D9FF52 #52D9FF #FF52D9
tetradic
#D9FF52 #52FFCE #7852FF #FF5282
square
#D9FF52 #52FFCE #7852FF #FF5282
split-complementary
#D9FF52 #5282FF #CE52FF
monochromatic
#A7D700 #CCFF15 #D9FF52 #E6FF8F #F4FFCC

Accessibility & contrast

On white

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

On black

18.38
#D9FF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9FF52
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9FF52#FFFFFF#000000##000000
##D9FF521.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF037
Deuteranopia (green-blind)
#FFF060
Tritanopia (blue-blind)
#E4F2DD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #d9ff52;
/* rgb */ color: rgb(217, 255, 82);
/* oklch */ color: oklch(94.2% 0.196 121.1);
Tailwind
colors: {
  custom: {
    50: '#e8ff8c',
    500: '#d9ff52',
    950: '#000000',
  },
}
SCSS
$custom: #d9ff52;
$custom-light: #e8ff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ff52",
  "rgb": {
    "r": 217,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 73.179,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94238,
    "c": 0.19616,
    "h": 121.1
  },
  "luminance": 0.86881
}

Semantic roles & 50–950 ramp

primary
#D9FF52
secondary
#4A25D0
accent
#00E632
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#16180D
muted
#85867F

Preview Lab

Preview with #D9FF52

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

Preview Lab → · Contrast checker → · Palette generator →

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