#D2FF2E#D2FF2E

#D2FF2E is a very light, highly saturated yellow-green. Relative luminance 0.854; OKLCH L 93.6% C 0.217 H 122.1°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#D2FF2E
RGBrgb(210, 255, 46)
HSLhsl(73, 100%, 59%)
HSVhsv(73, 82%, 100%)
CMYKcmyk(17.6%, 0%, 82%, 0%)
CIE-LABlab(94.06, -38.85, 84.75)
CIE-LCHlch(94.06, 93.23, 114.62°)
OKLaboklab(93.56% -0.1152 0.1838)
OKLCHoklch(93.56% 0.217 122.1)
XYZxyz(62.8326, 85.4187, 15.7615)
Luminance0.8542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FF2E #5B2EFF
analogous
#FFC42E #D2FF2E #6AFF2E
triadic
#D2FF2E #2ED2FF #FF2ED2
tetradic
#D2FF2E #2EFFC4 #5B2EFF #FF2E6A
square
#D2FF2E #2EFFC4 #5B2EFF #FF2E6A
split-complementary
#D2FF2E #2E6AFF #C42EFF
monochromatic
#8CB300 #BCF000 #D2FF2E #DFFF6B #ECFFA8

Accessibility & contrast

On white

1.16
#D2FF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#D2FF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FF2E
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FF2E#FFFFFF#000000##000000
##D2FF2E1.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF00
Deuteranopia (green-blind)
#FFEE46
Tritanopia (blue-blind)
#DEF2DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #d2ff2e;
/* rgb */ color: rgb(210, 255, 46);
/* oklch */ color: oklch(93.6% 0.217 122.1);
Tailwind
colors: {
  custom: {
    50: '#e5ff7b',
    500: '#d2ff2e',
    950: '#000000',
  },
}
SCSS
$custom: #d2ff2e;
$custom-light: #e5ff7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ff2e",
  "rgb": {
    "r": 210,
    "g": 255,
    "b": 46
  },
  "hsl": {
    "h": 72.919,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.93564,
    "c": 0.21689,
    "h": 122.1
  },
  "luminance": 0.85419
}

Semantic roles & 50–950 ramp

primary
#D2FF2E
secondary
#3F1FB2
accent
#29FF57
background
#FFFFFB
surface
#FEFFF2
border
#D6D7CC
text
#16180B
muted
#85867E

Preview Lab

Preview with #D2FF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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