#D2F866#D2F866

#D2F866 is a very light, vivid yellow-green. Relative luminance 0.818; OKLCH L 92.4% C 0.176 H 122.2°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#D2F866
RGBrgb(210, 248, 102)
HSLhsl(76, 91%, 69%)
HSVhsv(76, 59%, 97%)
CMYKcmyk(15.3%, 0%, 58.9%, 2.7%)
CIE-LABlab(92.48, -32.71, 64.47)
CIE-LCHlch(92.48, 72.30, 116.90°)
OKLaboklab(92.4% -0.0939 0.149)
OKLCHoklch(92.4% 0.176 122.2)
XYZxyz(62.5446, 81.7956, 25.0609)
Luminance0.8180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F866 #8C66F8
analogous
#F8D566 #D2F866 #89F866
triadic
#D2F866 #66D2F8 #F866D2
tetradic
#D2F866 #66F8D5 #8C66F8 #F86689
square
#D2F866 #66F8D5 #8C66F8 #F86689
split-complementary
#D2F866 #6689F8 #D566F8
monochromatic
#A4DA0A #C1F52B #D2F866 #E3FBA1 #F4FDDB

Accessibility & contrast

On white

1.21
#D2F866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#D2F866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F866
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F866#FFFFFF#000000##000000
##D2F8661.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFE970
Tritanopia (blue-blind)
#DCECD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d2f866;
/* rgb */ color: rgb(210, 248, 102);
/* oklch */ color: oklch(92.4% 0.176 122.2);
Tailwind
colors: {
  custom: {
    50: '#e3fa97',
    500: '#d2f866',
    950: '#000000',
  },
}
SCSS
$custom: #d2f866;
$custom-light: #e3fa97;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f866",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 75.616,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.92396,
    "c": 0.17612,
    "h": 122.2
  },
  "luminance": 0.81796
}

Semantic roles & 50–950 ramp

primary
#D2F866
secondary
#5B31D2
accent
#00E63C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D2F866

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

Preview Lab → · Contrast checker → · Palette generator →

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