#DDF787#DDF787

#DDF787 is a very light, vivid yellow-green. Relative luminance 0.836; OKLCH L 93.3% C 0.141 H 119.9°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#DDF787
RGBrgb(221, 247, 135)
HSLhsl(74, 88%, 75%)
HSVhsv(74, 45%, 97%)
CMYKcmyk(10.5%, 0%, 45.3%, 3.1%)
CIE-LABlab(93.30, -25.11, 50.78)
CIE-LCHlch(93.30, 56.65, 116.31°)
OKLaboklab(93.35% -0.0703 0.122)
OKLCHoklch(93.35% 0.141 119.9)
XYZxyz(67.4531, 83.6432, 35.5082)
Luminance0.8364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF787 #A187F7
analogous
#F7D987 #DDF787 #A5F787
triadic
#DDF787 #87DDF7 #F787DD
tetradic
#DDF787 #87F7D9 #A187F7 #F787A5
square
#DDF787 #87F7D9 #A187F7 #F787A5
split-complementary
#DDF787 #87A5F7 #D987F7
monochromatic
#BCEF14 #CDF34E #DDF787 #EDFBC0 #F7FDE2

Accessibility & contrast

On white

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

On black

17.73
#DDF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF787
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF787#FFFFFF#000000##000000
##DDF7871.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFEC8D
Tritanopia (blue-blind)
#E6EDDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ddf787;
/* rgb */ color: rgb(221, 247, 135);
/* oklch */ color: oklch(93.3% 0.141 119.9);
Tailwind
colors: {
  custom: {
    50: '#e9f9ac',
    500: '#ddf787',
    950: '#000000',
  },
}
SCSS
$custom: #ddf787;
$custom-light: #e9f9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf787",
  "rgb": {
    "r": 221,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 73.929,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93345,
    "c": 0.1408,
    "h": 119.9
  },
  "luminance": 0.83643
}

Semantic roles & 50–950 ramp

primary
#DDF787
secondary
#6D4ED4
accent
#01E436
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #DDF787

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

Preview Lab → · Contrast checker → · Palette generator →

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