#DDF987#DDF987

#DDF987 is a very light, vivid yellow-green. Relative luminance 0.849; OKLCH L 93.8% C 0.143 H 120.6°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#DDF987
RGBrgb(221, 249, 135)
HSLhsl(75, 90%, 75%)
HSVhsv(75, 46%, 98%)
CMYKcmyk(11.2%, 0%, 45.8%, 2.4%)
CIE-LABlab(93.83, -26.06, 51.43)
CIE-LCHlch(93.83, 57.66, 116.87°)
OKLaboklab(93.77% -0.0729 0.1235)
OKLCHoklch(93.77% 0.143 120.6)
XYZxyz(68.0679, 84.8729, 35.7132)
Luminance0.8487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF987 #A387F9
analogous
#F9DC87 #DDF987 #A4F987
triadic
#DDF987 #87DDF9 #F987DD
tetradic
#DDF987 #87F9DC #A387F9 #F987A4
square
#DDF987 #87F9DC #A387F9 #F987A4
split-complementary
#DDF987 #87A4F9 #DC87F9
monochromatic
#BCF312 #CCF64D #DDF987 #EEFCC1 #F7FEE2

Accessibility & contrast

On white

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

On black

17.97
#DDF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF987
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF987#FFFFFF#000000##000000
##DDF9871.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FFEE8D
Tritanopia (blue-blind)
#E6EFDE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ddf987;
/* rgb */ color: rgb(221, 249, 135);
/* oklch */ color: oklch(93.8% 0.143 120.6);
Tailwind
colors: {
  custom: {
    50: '#e9fbac',
    500: '#ddf987',
    950: '#000000',
  },
}
SCSS
$custom: #ddf987;
$custom-light: #e9fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf987",
  "rgb": {
    "r": 221,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 74.737,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93772,
    "c": 0.14341,
    "h": 120.6
  },
  "luminance": 0.84873
}

Semantic roles & 50–950 ramp

primary
#DDF987
secondary
#6F4DD7
accent
#00E638
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DDF987

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

Preview Lab → · Contrast checker → · Palette generator →

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