#DDF998#DDF998

#DDF998 is a very light, vivid yellow-green. Relative luminance 0.854; OKLCH L 94.0% C 0.126 H 122.0°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#DDF998
RGBrgb(221, 249, 152)
HSLhsl(77, 89%, 79%)
HSVhsv(77, 39%, 98%)
CMYKcmyk(11.2%, 0%, 39%, 2.4%)
CIE-LABlab(94.05, -24.20, 43.55)
CIE-LCHlch(94.05, 49.82, 119.06°)
OKLaboklab(94.02% -0.0665 0.1066)
OKLCHoklch(94.02% 0.126 122)
XYZxyz(69.3618, 85.3905, 42.5276)
Luminance0.8539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF998 #B498F9
analogous
#F9E598 #DDF998 #ACF998
triadic
#DDF998 #98DDF9 #F998DD
tetradic
#DDF998 #98F9E5 #B498F9 #F998AC
square
#DDF998 #98F9E5 #B498F9 #F998AC
split-complementary
#DDF998 #98ACF9 #E598F9
monochromatic
#B7F224 #CAF65E #DDF998 #F0FCD2 #F5FDE2

Accessibility & contrast

On white

1.16
#DDF998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#DDF998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF998
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF998#FFFFFF#000000##000000
##DDF9981.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FFEE9D
Tritanopia (blue-blind)
#E4F0E1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ddf998;
/* rgb */ color: rgb(221, 249, 152);
/* oklch */ color: oklch(94.0% 0.126 122.0);
Tailwind
colors: {
  custom: {
    50: '#e9fbb7',
    500: '#ddf998',
    950: '#000000',
  },
}
SCSS
$custom: #ddf998;
$custom-light: #e9fbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf998",
  "rgb": {
    "r": 221,
    "g": 249,
    "b": 152
  },
  "hsl": {
    "h": 77.32,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94023,
    "c": 0.12567,
    "h": 122
  },
  "luminance": 0.85391
}

Semantic roles & 50–950 ramp

primary
#DDF998
secondary
#805CD9
accent
#00E642
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DDF998

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

Preview Lab → · Contrast checker → · Palette generator →

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