#DDF798#DDF798

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

Color values

HEX#DDF798
RGBrgb(221, 247, 152)
HSLhsl(76, 86%, 78%)
HSVhsv(76, 38%, 97%)
CMYKcmyk(10.5%, 0%, 38.5%, 3.1%)
CIE-LABlab(93.52, -23.25, 42.87)
CIE-LCHlch(93.52, 48.77, 118.47°)
OKLaboklab(93.6% -0.0638 0.105)
OKLCHoklch(93.6% 0.123 121.3)
XYZxyz(68.7469, 84.1607, 42.3226)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF798 #B298F7
analogous
#F7E198 #DDF798 #ADF798
triadic
#DDF798 #98DDF7 #F798DD
tetradic
#DDF798 #98F7E1 #B298F7 #F798AD
square
#DDF798 #98F7E1 #B298F7 #F798AD
split-complementary
#DDF798 #98ADF7 #E198F7
monochromatic
#B8EE26 #CAF35F #DDF798 #F0FBD1 #F6FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDF798#FFFFFF#000000##000000
##DDF7981.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)
#FFED91
Deuteranopia (green-blind)
#FEED9D
Tritanopia (blue-blind)
#E5EEE0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ddf798;
/* rgb */ color: rgb(221, 247, 152);
/* oklch */ color: oklch(93.6% 0.123 121.3);
Tailwind
colors: {
  custom: {
    50: '#e9f9b7',
    500: '#ddf798',
    950: '#000000',
  },
}
SCSS
$custom: #ddf798;
$custom-light: #e9f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf798",
  "rgb": {
    "r": 221,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 76.421,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93598,
    "c": 0.12292,
    "h": 121.3
  },
  "luminance": 0.84161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDF798

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

Preview Lab → · Contrast checker → · Palette generator →

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