#DDF796#DDF796

#DDF796 is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.6% C 0.125 H 121.1°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#DDF796
RGBrgb(221, 247, 150)
HSLhsl(76, 86%, 78%)
HSVhsv(76, 39%, 97%)
CMYKcmyk(10.5%, 0%, 39.3%, 3.1%)
CIE-LABlab(93.49, -23.48, 43.81)
CIE-LCHlch(93.49, 49.70, 118.19°)
OKLaboklab(93.57% -0.0646 0.1071)
OKLCHoklch(93.57% 0.125 121.1)
XYZxyz(68.5845, 84.0958, 41.4672)
Luminance0.8410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF796 #B096F7
analogous
#F7E096 #DDF796 #ADF796
triadic
#DDF796 #96DDF7 #F796DD
tetradic
#DDF796 #96F7E0 #B096F7 #F796AD
square
#DDF796 #96F7E0 #B096F7 #F796AD
split-complementary
#DDF796 #96ADF7 #E096F7
monochromatic
#B8EE24 #CBF35D #DDF796 #EFFBCF #F6FDE3

Accessibility & contrast

On white

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

On black

17.82
#DDF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF796
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF796#FFFFFF#000000##000000
##DDF7961.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddf796;
/* rgb */ color: rgb(221, 247, 150);
/* oklch */ color: oklch(93.6% 0.125 121.1);
Tailwind
colors: {
  custom: {
    50: '#e9f9b6',
    500: '#ddf796',
    950: '#000000',
  },
}
SCSS
$custom: #ddf796;
$custom-light: #e9f9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf796",
  "rgb": {
    "r": 221,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 76.082,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93566,
    "c": 0.1251,
    "h": 121.1
  },
  "luminance": 0.84096
}

Semantic roles & 50–950 ramp

primary
#DDF796
secondary
#7C5BD6
accent
#03E23F
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DDF796

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

Preview Lab → · Contrast checker → · Palette generator →

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