#DDF87C#DDF87C

#DDF87C is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.4% C 0.153 H 119.6°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#DDF87C
RGBrgb(221, 248, 124)
HSLhsl(73, 90%, 73%)
HSVhsv(73, 50%, 97%)
CMYKcmyk(10.9%, 0%, 50%, 2.7%)
CIE-LABlab(93.43, -26.66, 56.07)
CIE-LCHlch(93.43, 62.08, 115.43°)
OKLaboklab(93.42% -0.0755 0.1329)
OKLCHoklch(93.42% 0.153 119.6)
XYZxyz(67.0249, 83.9625, 31.7403)
Luminance0.8396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF87C #977CF8
analogous
#F8D57C #DDF87C #9FF87C
triadic
#DDF87C #7CDDF8 #F87CDD
tetradic
#DDF87C #7CF8D5 #977CF8 #F87C9F
square
#DDF87C #7CF8D5 #977CF8 #F87C9F
split-complementary
#DDF87C #7C9FF8 #D57CF8
monochromatic
#BCED0D #CEF542 #DDF87C #ECFBB6 #F7FDE2

Accessibility & contrast

On white

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

On black

17.79
#DDF87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF87C
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF87C#FFFFFF#000000##000000
##DDF87C1.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFED83
Tritanopia (blue-blind)
#E7EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ddf87c;
/* rgb */ color: rgb(221, 248, 124);
/* oklch */ color: oklch(93.4% 0.153 119.6);
Tailwind
colors: {
  custom: {
    50: '#e9faa5',
    500: '#ddf87c',
    950: '#000000',
  },
}
SCSS
$custom: #ddf87c;
$custom-light: #e9faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf87c",
  "rgb": {
    "r": 221,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 73.065,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93415,
    "c": 0.15285,
    "h": 119.6
  },
  "luminance": 0.83962
}

Semantic roles & 50–950 ramp

primary
#DDF87C
secondary
#6344D4
accent
#00E632
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DDF87C

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

Preview Lab → · Contrast checker → · Palette generator →

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