#D7FF2E#D7FF2E

#D7FF2E is a very light, highly saturated yellow-green. Relative luminance 0.862; OKLCH L 93.9% C 0.215 H 120.8°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#D7FF2E
RGBrgb(215, 255, 46)
HSLhsl(71, 100%, 59%)
HSVhsv(71, 82%, 100%)
CMYKcmyk(15.7%, 0%, 82%, 0%)
CIE-LABlab(94.38, -36.91, 85.15)
CIE-LCHlch(94.38, 92.81, 113.43°)
OKLaboklab(93.9% -0.1102 0.1845)
OKLCHoklch(93.9% 0.215 120.8)
XYZxyz(64.2787, 86.1644, 15.8293)
Luminance0.8616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7FF2E #562EFF
analogous
#FFBE2E #D7FF2E #6FFF2E
triadic
#D7FF2E #2ED7FF #FF2ED7
tetradic
#D7FF2E #2EFFBE #562EFF #FF2E6F
square
#D7FF2E #2EFFBE #562EFF #FF2E6F
split-complementary
#D7FF2E #2E6FFF #BE2EFF
monochromatic
#90B300 #C2F000 #D7FF2E #E3FF6B #EEFFA8

Accessibility & contrast

On white

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

On black

18.23
#D7FF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7FF2E
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7FF2E#FFFFFF#000000##000000
##D7FF2E1.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF00
Deuteranopia (green-blind)
#FFEF46
Tritanopia (blue-blind)
#E3F1DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #d7ff2e;
/* rgb */ color: rgb(215, 255, 46);
/* oklch */ color: oklch(93.9% 0.215 120.8);
Tailwind
colors: {
  custom: {
    50: '#e8ff7b',
    500: '#d7ff2e',
    950: '#000000',
  },
}
SCSS
$custom: #d7ff2e;
$custom-light: #e8ff7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ff2e",
  "rgb": {
    "r": 215,
    "g": 255,
    "b": 46
  },
  "hsl": {
    "h": 71.483,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.93903,
    "c": 0.21485,
    "h": 120.8
  },
  "luminance": 0.86164
}

Semantic roles & 50–950 ramp

primary
#D7FF2E
secondary
#3B1FB2
accent
#29FF52
background
#FFFFFB
surface
#FEFFF2
border
#D6D7CC
text
#17180B
muted
#85867E

Preview Lab

Preview with #D7FF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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