#DDF8A2#DDF8A2

#DDF8A2 is a very light, moderate yellow-green. Relative luminance 0.851; OKLCH L 94.0% C 0.113 H 122.8°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#DDF8A2
RGBrgb(221, 248, 162)
HSLhsl(79, 86%, 80%)
HSVhsv(79, 35%, 97%)
CMYKcmyk(10.9%, 0%, 34.7%, 2.7%)
CIE-LABlab(93.93, -22.51, 38.47)
CIE-LCHlch(93.93, 44.58, 120.34°)
OKLaboklab(93.98% -0.0613 0.0952)
OKLCHoklch(93.98% 0.113 122.8)
XYZxyz(69.9074, 85.1155, 46.9215)
Luminance0.8512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF8A2 #BDA2F8
analogous
#F8E8A2 #DDF8A2 #B2F8A2
triadic
#DDF8A2 #A2DDF8 #F8A2DD
tetradic
#DDF8A2 #A2F8E8 #BDA2F8 #F8A2B2
square
#DDF8A2 #A2F8E8 #BDA2F8 #F8A2B2
split-complementary
#DDF8A2 #A2B2F8 #E8A2F8
monochromatic
#B3EF30 #C8F469 #DDF8A2 #F2FCDB #F5FDE3

Accessibility & contrast

On white

1.17
#DDF8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#DDF8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF8A2
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF8A2#FFFFFF#000000##000000
##DDF8A21.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE9C
Deuteranopia (green-blind)
#FEEDA6
Tritanopia (blue-blind)
#E3F0E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ddf8a2;
/* rgb */ color: rgb(221, 248, 162);
/* oklch */ color: oklch(94.0% 0.113 122.8);
Tailwind
colors: {
  custom: {
    50: '#e8fabe',
    500: '#ddf8a2',
    950: '#000000',
  },
}
SCSS
$custom: #ddf8a2;
$custom-light: #e8fabe;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf8a2",
  "rgb": {
    "r": 221,
    "g": 248,
    "b": 162
  },
  "hsl": {
    "h": 78.837,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.93976,
    "c": 0.11326,
    "h": 122.8
  },
  "luminance": 0.85116
}

Semantic roles & 50–950 ramp

primary
#DDF8A2
secondary
#8A65D9
accent
#03E349
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161712
muted
#848582

Preview Lab

Preview with #DDF8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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