#D9F596#D9F596

#D9F596 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.9% C 0.124 H 122.2°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#D9F596
RGBrgb(217, 245, 150)
HSLhsl(78, 83%, 77%)
HSVhsv(78, 39%, 96%)
CMYKcmyk(11.4%, 0%, 38.8%, 3.9%)
CIE-LABlab(92.69, -24.00, 42.73)
CIE-LCHlch(92.69, 49.01, 119.33°)
OKLaboklab(92.86% -0.066 0.1047)
OKLCHoklch(92.86% 0.124 122.2)
XYZxyz(66.7725, 82.2585, 41.2080)
Luminance0.8226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F596 #B296F5
analogous
#F5E196 #D9F596 #AAF596
triadic
#D9F596 #96D9F5 #F596D9
tetradic
#D9F596 #96F5E1 #B296F5 #F596AA
square
#D9F596 #96F5E1 #B296F5 #F596AA
split-complementary
#D9F596 #96AAF5 #E196F5
monochromatic
#B1EA26 #C5F05E #D9F596 #EDFACE #F5FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9F596#FFFFFF#000000##000000
##D9F5961.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)
#FFEB8F
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#E0ECDE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d9f596;
/* rgb */ color: rgb(217, 245, 150);
/* oklch */ color: oklch(92.9% 0.124 122.2);
Tailwind
colors: {
  custom: {
    50: '#e6f8b6',
    500: '#d9f596',
    950: '#000000',
  },
}
SCSS
$custom: #d9f596;
$custom-light: #e6f8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f596",
  "rgb": {
    "r": 217,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 77.684,
    "s": 82.609,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92855,
    "c": 0.12371,
    "h": 122.2
  },
  "luminance": 0.82259
}

Semantic roles & 50–950 ramp

primary
#D9F596
secondary
#7F5CD3
accent
#06DF46
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #D9F596

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

Preview Lab → · Contrast checker → · Palette generator →

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