#D2F282#D2F282

#D2F282 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.4% C 0.143 H 122.4°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#D2F282
RGBrgb(210, 242, 130)
HSLhsl(77, 81%, 73%)
HSVhsv(77, 46%, 95%)
CMYKcmyk(13.2%, 0%, 46.3%, 5.1%)
CIE-LABlab(91.15, -27.39, 50.34)
CIE-LCHlch(91.15, 57.31, 118.55°)
OKLaboklab(91.42% -0.0766 0.1208)
OKLCHoklch(91.42% 0.143 122.4)
XYZxyz(62.3599, 78.8175, 33.0428)
Luminance0.7882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F282 #A282F2
analogous
#F2DA82 #D2F282 #9AF282
triadic
#D2F282 #82D2F2 #F282D2
tetradic
#D2F282 #82F2DA #A282F2 #F2829A
square
#D2F282 #82F2DA #A282F2 #F2829A
split-complementary
#D2F282 #829AF2 #DA82F2
monochromatic
#A8E218 #BEEC4B #D2F282 #E6F8B9 #F5FCE3

Accessibility & contrast

On white

1.25
#D2F282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#D2F282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F282
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F282#FFFFFF#000000##000000
##D2F2821.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE679
Deuteranopia (green-blind)
#F9E688
Tritanopia (blue-blind)
#DAE8D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d2f282;
/* rgb */ color: rgb(210, 242, 130);
/* oklch */ color: oklch(91.4% 0.143 122.4);
Tailwind
colors: {
  custom: {
    50: '#e1f6a8',
    500: '#d2f282',
    950: '#000000',
  },
}
SCSS
$custom: #d2f282;
$custom-light: #e1f6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f282",
  "rgb": {
    "r": 210,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 77.143,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91419,
    "c": 0.14304,
    "h": 122.4
  },
  "luminance": 0.78818
}

Semantic roles & 50–950 ramp

primary
#D2F282
secondary
#704BCD
accent
#08DE45
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2F282

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

Preview Lab → · Contrast checker → · Palette generator →

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