#D4F796#D4F796

#D4F796 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.9% C 0.128 H 125.0°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#D4F796
RGBrgb(212, 247, 150)
HSLhsl(82, 86%, 78%)
HSVhsv(82, 39%, 97%)
CMYKcmyk(14.2%, 0%, 39.3%, 3.1%)
CIE-LABlab(92.89, -26.78, 42.92)
CIE-LCHlch(92.89, 50.59, 121.97°)
OKLaboklab(92.93% -0.0736 0.1051)
OKLCHoklch(92.93% 0.128 125)
XYZxyz(65.9167, 82.7202, 41.3421)
Luminance0.8272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F796 #B996F7
analogous
#F7E996 #D4F796 #A4F796
triadic
#D4F796 #96D4F7 #F796D4
tetradic
#D4F796 #96F7E9 #B996F7 #F796A4
square
#D4F796 #96F7E9 #B996F7 #F796A4
split-complementary
#D4F796 #96A4F7 #E996F7
monochromatic
#A5EE24 #BDF35D #D4F796 #EBFBCF #F3FDE3

Accessibility & contrast

On white

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

On black

17.54
#D4F796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F796
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F796#FFFFFF#000000##000000
##D4F7961.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8F
Deuteranopia (green-blind)
#FCEA9B
Tritanopia (blue-blind)
#DAEFDF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d4f796;
/* rgb */ color: rgb(212, 247, 150);
/* oklch */ color: oklch(92.9% 0.128 125.0);
Tailwind
colors: {
  custom: {
    50: '#e2fab6',
    500: '#d4f796',
    950: '#000000',
  },
}
SCSS
$custom: #d4f796;
$custom-light: #e2fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f796",
  "rgb": {
    "r": 212,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 81.649,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92934,
    "c": 0.12835,
    "h": 125
  },
  "luminance": 0.82721
}

Semantic roles & 50–950 ramp

primary
#D4F796
secondary
#875BD6
accent
#03E254
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #D4F796

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

Preview Lab → · Contrast checker → · Palette generator →

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