#DDF878#DDF878

#DDF878 is a very light, vivid yellow-green. Relative luminance 0.839; OKLCH L 93.4% C 0.157 H 119.4°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#DDF878
RGBrgb(221, 248, 120)
HSLhsl(73, 90%, 72%)
HSVhsv(73, 52%, 97%)
CMYKcmyk(10.9%, 0%, 51.6%, 2.7%)
CIE-LABlab(93.39, -27.02, 57.84)
CIE-LCHlch(93.39, 63.84, 115.04°)
OKLaboklab(93.37% -0.0769 0.1364)
OKLCHoklch(93.37% 0.157 119.4)
XYZxyz(66.7770, 83.8633, 30.4350)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF878 #9378F8
analogous
#F8D378 #DDF878 #9DF878
triadic
#DDF878 #78DDF8 #F878DD
tetradic
#DDF878 #78F8D3 #9378F8 #F8789D
square
#DDF878 #78F8D3 #9378F8 #F8789D
split-complementary
#DDF878 #789DF8 #D378F8
monochromatic
#BBE90C #CEF53E #DDF878 #ECFBB2 #F8FDE2

Accessibility & contrast

On white

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

On black

17.77
#DDF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF878
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF878#FFFFFF#000000##000000
##DDF8781.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#E7EDDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ddf878;
/* rgb */ color: rgb(221, 248, 120);
/* oklch */ color: oklch(93.4% 0.157 119.4);
Tailwind
colors: {
  custom: {
    50: '#eafaa2',
    500: '#ddf878',
    950: '#000000',
  },
}
SCSS
$custom: #ddf878;
$custom-light: #eafaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf878",
  "rgb": {
    "r": 221,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 72.656,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93366,
    "c": 0.15659,
    "h": 119.4
  },
  "luminance": 0.83863
}

Semantic roles & 50–950 ramp

primary
#DDF878
secondary
#5F40D4
accent
#00E630
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DDF878

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

Preview Lab → · Contrast checker → · Palette generator →

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