#D2F781#D2F781

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

Color values

HEX#D2F781
RGBrgb(210, 247, 129)
HSLhsl(79, 88%, 74%)
HSVhsv(79, 48%, 97%)
CMYKcmyk(15%, 0%, 47.8%, 3.1%)
CIE-LABlab(92.49, -29.84, 52.45)
CIE-LCHlch(92.49, 60.34, 119.64°)
OKLaboklab(92.49% -0.0835 0.1254)
OKLCHoklch(92.49% 0.151 123.7)
XYZxyz(63.8016, 81.8078, 33.1939)
Luminance0.8181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F781 #A681F7
analogous
#F7E181 #D2F781 #97F781
triadic
#D2F781 #81D2F7 #F781D2
tetradic
#D2F781 #81F7E1 #A681F7 #F78197
square
#D2F781 #81F7E1 #A681F7 #F78197
split-complementary
#D2F781 #8197F7 #E181F7
monochromatic
#A8EE0F #BDF347 #D2F781 #E7FBBB #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2F781#FFFFFF#000000##000000
##D2F7811.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)
#FFEB77
Deuteranopia (green-blind)
#FEE988
Tritanopia (blue-blind)
#DAEDDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d2f781;
/* rgb */ color: rgb(210, 247, 129);
/* oklch */ color: oklch(92.5% 0.151 123.7);
Tailwind
colors: {
  custom: {
    50: '#e2faa8',
    500: '#d2f781',
    950: '#000000',
  },
}
SCSS
$custom: #d2f781;
$custom-light: #e2faa8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f781",
  "rgb": {
    "r": 210,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 78.814,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9249,
    "c": 0.15068,
    "h": 123.7
  },
  "luminance": 0.81808
}

Semantic roles & 50–950 ramp

primary
#D2F781
secondary
#7449D4
accent
#01E548
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D2F781

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

Preview Lab → · Contrast checker → · Palette generator →

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