#D2F87A#D2F87A

#D2F87A is a very light, vivid yellow-green. Relative luminance 0.822; OKLCH L 92.6% C 0.159 H 123.4°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#D2F87A
RGBrgb(210, 248, 122)
HSLhsl(78, 90%, 73%)
HSVhsv(78, 51%, 97%)
CMYKcmyk(15.3%, 0%, 50.8%, 2.7%)
CIE-LABlab(92.68, -30.99, 55.91)
CIE-LCHlch(92.68, 63.92, 119.00°)
OKLaboklab(92.62% -0.0873 0.1325)
OKLCHoklch(92.62% 0.159 123.4)
XYZxyz(63.6588, 82.2413, 30.9290)
Luminance0.8224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F87A #A07AF8
analogous
#F8DF7A #D2F87A #93F87A
triadic
#D2F87A #7AD2F8 #F87AD2
tetradic
#D2F87A #7AF8DF #A07AF8 #F87A93
square
#D2F87A #7AF8DF #A07AF8 #F87A93
split-complementary
#D2F87A #7A93F8 #DF7AF8
monochromatic
#A8EB0C #BEF540 #D2F87A #E6FBB4 #F5FDE2

Accessibility & contrast

On white

1.20
#D2F87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#D2F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F87A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F87A#FFFFFF#000000##000000
##D2F87A1.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FFEA81
Tritanopia (blue-blind)
#DAEEDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d2f87a;
/* rgb */ color: rgb(210, 248, 122);
/* oklch */ color: oklch(92.6% 0.159 123.4);
Tailwind
colors: {
  custom: {
    50: '#e2faa3',
    500: '#d2f87a',
    950: '#000000',
  },
}
SCSS
$custom: #d2f87a;
$custom-light: #e2faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f87a",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 78.095,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92618,
    "c": 0.15867,
    "h": 123.4
  },
  "luminance": 0.82242
}

Semantic roles & 50–950 ramp

primary
#D2F87A
secondary
#6E42D4
accent
#00E645
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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