#D2F281#D2F281

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

Color values

HEX#D2F281
RGBrgb(210, 242, 129)
HSLhsl(77, 81%, 73%)
HSVhsv(77, 47%, 95%)
CMYKcmyk(13.2%, 0%, 46.7%, 5.1%)
CIE-LABlab(91.14, -27.49, 50.80)
CIE-LCHlch(91.14, 57.76, 118.42°)
OKLaboklab(91.41% -0.0769 0.1218)
OKLCHoklch(91.41% 0.144 122.3)
XYZxyz(62.2931, 78.7908, 32.6910)
Luminance0.7879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F281 #A181F2
analogous
#F2D981 #D2F281 #99F281
triadic
#D2F281 #81D2F2 #F281D2
tetradic
#D2F281 #81F2D9 #A181F2 #F28199
square
#D2F281 #81F2D9 #A181F2 #F28199
split-complementary
#D2F281 #8199F2 #D981F2
monochromatic
#A8E117 #BEEC4A #D2F281 #E6F8B8 #F5FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2F281#FFFFFF#000000##000000
##D2F2811.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)
#FEE677
Deuteranopia (green-blind)
#F9E687
Tritanopia (blue-blind)
#DAE8D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d2f281;
/* rgb */ color: rgb(210, 242, 129);
/* oklch */ color: oklch(91.4% 0.144 122.3);
Tailwind
colors: {
  custom: {
    50: '#e1f6a8',
    500: '#d2f281',
    950: '#000000',
  },
}
SCSS
$custom: #d2f281;
$custom-light: #e1f6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f281",
  "rgb": {
    "r": 210,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 76.991,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91405,
    "c": 0.14404,
    "h": 122.3
  },
  "luminance": 0.78791
}

Semantic roles & 50–950 ramp

primary
#D2F281
secondary
#6F4ACD
accent
#08DE44
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #D2F281

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

Preview Lab → · Contrast checker → · Palette generator →

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