#D2F996#D2F996

#D2F996 is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.2% C 0.132 H 126.4°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#D2F996
RGBrgb(210, 249, 150)
HSLhsl(84, 89%, 78%)
HSVhsv(84, 40%, 98%)
CMYKcmyk(15.7%, 0%, 39.8%, 2.4%)
CIE-LABlab(93.30, -28.45, 43.42)
CIE-LCHlch(93.30, 51.91, 123.24°)
OKLaboklab(93.23% -0.0782 0.1063)
OKLCHoklch(93.23% 0.132 126.4)
XYZxyz(65.9585, 83.6544, 41.5202)
Luminance0.8366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F996 #BD96F9
analogous
#F9EE96 #D2F996 #A0F996
triadic
#D2F996 #96D2F9 #F996D2
tetradic
#D2F996 #96F9EE #BD96F9 #F996A0
square
#D2F996 #96F9EE #BD96F9 #F996A0
split-complementary
#D2F996 #96A0F9 #EE96F9
monochromatic
#A0F222 #B9F65C #D2F996 #EBFCD0 #F3FDE2

Accessibility & contrast

On white

1.18
#D2F996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.73
#D2F996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F996
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F996#FFFFFF#000000##000000
##D2F9961.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FDEB9B
Tritanopia (blue-blind)
#D7F1E1
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d2f996;
/* rgb */ color: rgb(210, 249, 150);
/* oklch */ color: oklch(93.2% 0.132 126.4);
Tailwind
colors: {
  custom: {
    50: '#e1fbb6',
    500: '#d2f996',
    950: '#000000',
  },
}
SCSS
$custom: #d2f996;
$custom-light: #e1fbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f996",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 150
  },
  "hsl": {
    "h": 83.636,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93229,
    "c": 0.13197,
    "h": 126.4
  },
  "luminance": 0.83655
}

Semantic roles & 50–950 ramp

primary
#D2F996
secondary
#8C5AD9
accent
#00E65A
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2F996

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

Preview Lab → · Contrast checker → · Palette generator →

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