#D2F796#D2F796

#D2F796 is a very light, vivid yellow-green. Relative luminance 0.824; OKLCH L 92.8% C 0.129 H 125.8°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#D2F796
RGBrgb(210, 247, 150)
HSLhsl(83, 86%, 78%)
HSVhsv(83, 39%, 97%)
CMYKcmyk(15%, 0%, 39.3%, 3.1%)
CIE-LABlab(92.76, -27.51, 42.73)
CIE-LCHlch(92.76, 50.82, 122.78°)
OKLaboklab(92.8% -0.0756 0.1047)
OKLCHoklch(92.8% 0.129 125.8)
XYZxyz(65.3436, 82.4247, 41.3153)
Luminance0.8243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F796 #BB96F7
analogous
#F7EC96 #D2F796 #A1F796
triadic
#D2F796 #96D2F7 #F796D2
tetradic
#D2F796 #96F7EC #BB96F7 #F796A1
square
#D2F796 #96F7EC #BB96F7 #F796A1
split-complementary
#D2F796 #96A1F7 #EC96F7
monochromatic
#A1EE24 #BAF35D #D2F796 #EAFBCF #F3FDE3

Accessibility & contrast

On white

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

On black

17.49
#D2F796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F796
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F796#FFFFFF#000000##000000
##D2F7961.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FBEA9B
Tritanopia (blue-blind)
#D8EFDF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d2f796;
/* rgb */ color: rgb(210, 247, 150);
/* oklch */ color: oklch(92.8% 0.129 125.8);
Tailwind
colors: {
  custom: {
    50: '#e1fab6',
    500: '#d2f796',
    950: '#000000',
  },
}
SCSS
$custom: #d2f796;
$custom-light: #e1fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f796",
  "rgb": {
    "r": 210,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 82.887,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92797,
    "c": 0.12914,
    "h": 125.8
  },
  "luminance": 0.82425
}

Semantic roles & 50–950 ramp

primary
#D2F796
secondary
#8A5BD6
accent
#03E258
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D2F796

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

Preview Lab → · Contrast checker → · Palette generator →

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