#DDF797#DDF797

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

Color values

HEX#DDF797
RGBrgb(221, 247, 151)
HSLhsl(76, 86%, 78%)
HSVhsv(76, 39%, 97%)
CMYKcmyk(10.5%, 0%, 38.9%, 3.1%)
CIE-LABlab(93.51, -23.36, 43.34)
CIE-LCHlch(93.51, 49.24, 118.33°)
OKLaboklab(93.58% -0.0642 0.1061)
OKLCHoklch(93.58% 0.124 121.2)
XYZxyz(68.6654, 84.1281, 41.8931)
Luminance0.8413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF797 #B197F7
analogous
#F7E197 #DDF797 #ADF797
triadic
#DDF797 #97DDF7 #F797DD
tetradic
#DDF797 #97F7E1 #B197F7 #F797AD
square
#DDF797 #97F7E1 #B197F7 #F797AD
split-complementary
#DDF797 #97ADF7 #E197F7
monochromatic
#B8EE25 #CAF35E #DDF797 #F0FBD0 #F6FDE3

Accessibility & contrast

On white

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

On black

17.83
#DDF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF797
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF797#FFFFFF#000000##000000
##DDF7971.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddf797;
/* rgb */ color: rgb(221, 247, 151);
/* oklch */ color: oklch(93.6% 0.124 121.2);
Tailwind
colors: {
  custom: {
    50: '#e9f9b7',
    500: '#ddf797',
    950: '#000000',
  },
}
SCSS
$custom: #ddf797;
$custom-light: #e9f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf797",
  "rgb": {
    "r": 221,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 76.25,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93582,
    "c": 0.12402,
    "h": 121.2
  },
  "luminance": 0.84128
}

Semantic roles & 50–950 ramp

primary
#DDF797
secondary
#7D5CD6
accent
#03E240
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DDF797

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

Preview Lab → · Contrast checker → · Palette generator →

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