#DDFD97#DDFD97

#DDFD97 is a very light, vivid yellow-green. Relative luminance 0.879; OKLCH L 94.9% C 0.132 H 123.1°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#DDFD97
RGBrgb(221, 253, 151)
HSLhsl(79, 96%, 79%)
HSVhsv(79, 40%, 99%)
CMYKcmyk(12.6%, 0%, 40.3%, 0.8%)
CIE-LABlab(95.10, -26.21, 45.37)
CIE-LCHlch(95.10, 52.40, 120.02°)
OKLaboklab(94.86% -0.0723 0.1107)
OKLCHoklch(94.86% 0.132 123.1)
XYZxyz(70.5298, 87.8569, 42.5145)
Luminance0.8786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDFD97 #B797FD
analogous
#FDEA97 #DDFD97 #AAFD97
triadic
#DDFD97 #97DDFD #FD97DD
tetradic
#DDFD97 #97FDEA #B797FD #FD97AA
square
#DDFD97 #97FDEA #B797FD #FD97AA
split-complementary
#DDFD97 #97AAFD #EA97FD
monochromatic
#B6FB1F #C9FC5B #DDFD97 #F1FED3 #F5FEE1

Accessibility & contrast

On white

1.13
#DDFD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.57
#DDFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDFD97
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDFD97#FFFFFF#000000##000000
##DDFD971.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#E4F4E4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ddfd97;
/* rgb */ color: rgb(221, 253, 151);
/* oklch */ color: oklch(94.9% 0.132 123.1);
Tailwind
colors: {
  custom: {
    50: '#e9feb7',
    500: '#ddfd97',
    950: '#000000',
  },
}
SCSS
$custom: #ddfd97;
$custom-light: #e9feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ddfd97",
  "rgb": {
    "r": 221,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 78.824,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.94859,
    "c": 0.13222,
    "h": 123.1
  },
  "luminance": 0.87857
}

Semantic roles & 50–950 ramp

primary
#DDFD97
secondary
#8359DF
accent
#00E648
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DDFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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