#D9FF40#D9FF40

#D9FF40 is a very light, highly saturated yellow-green. Relative luminance 0.866; OKLCH L 94.1% C 0.206 H 120.6°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#D9FF40
RGBrgb(217, 255, 64)
HSLhsl(72, 100%, 63%)
HSVhsv(72, 75%, 100%)
CMYKcmyk(14.9%, 0%, 74.9%, 0%)
CIE-LABlab(94.59, -35.47, 80.63)
CIE-LCHlch(94.59, 88.09, 113.74°)
OKLaboklab(94.12% -0.1051 0.1776)
OKLCHoklch(94.12% 0.206 120.6)
XYZxyz(65.3019, 86.6420, 18.1329)
Luminance0.8664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9FF40 #6640FF
analogous
#FFC540 #D9FF40 #7AFF40
triadic
#D9FF40 #40D9FF #FF40D9
tetradic
#D9FF40 #40FFC5 #6640FF #FF407A
square
#D9FF40 #40FFC5 #6640FF #FF407A
split-complementary
#D9FF40 #407AFF #C540FF
monochromatic
#9DC500 #CDFF03 #D9FF40 #E5FF7D #F1FFBA

Accessibility & contrast

On white

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

On black

18.33
#D9FF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9FF40
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9FF40#FFFFFF#000000##000000
##D9FF401.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF00A
Deuteranopia (green-blind)
#FFF052
Tritanopia (blue-blind)
#E5F2DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #d9ff40;
/* rgb */ color: rgb(217, 255, 64);
/* oklch */ color: oklch(94.1% 0.206 120.6);
Tailwind
colors: {
  custom: {
    50: '#e9ff83',
    500: '#d9ff40',
    950: '#000000',
  },
}
SCSS
$custom: #d9ff40;
$custom-light: #e9ff83;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ff40",
  "rgb": {
    "r": 217,
    "g": 255,
    "b": 64
  },
  "hsl": {
    "h": 71.937,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.94124,
    "c": 0.20638,
    "h": 120.6
  },
  "luminance": 0.86642
}

Semantic roles & 50–950 ramp

primary
#D9FF40
secondary
#4222C1
accent
#00E62E
background
#FFFFFC
surface
#FEFFF3
border
#D6D7CD
text
#17180C
muted
#85867F

Preview Lab

Preview with #D9FF40

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

Preview Lab → · Contrast checker → · Palette generator →

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