#DDF87B#DDF87B

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

Color values

HEX#DDF87B
RGBrgb(221, 248, 123)
HSLhsl(73, 90%, 73%)
HSVhsv(73, 50%, 97%)
CMYKcmyk(10.9%, 0%, 50.4%, 2.7%)
CIE-LABlab(93.42, -26.75, 56.51)
CIE-LCHlch(93.42, 62.52, 115.33°)
OKLaboklab(93.4% -0.0759 0.1338)
OKLCHoklch(93.4% 0.154 119.6)
XYZxyz(66.9619, 83.9373, 31.4089)
Luminance0.8394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF87B #967BF8
analogous
#F8D47B #DDF87B #9EF87B
triadic
#DDF87B #7BDDF8 #F87BDD
tetradic
#DDF87B #7BF8D4 #967BF8 #F87B9E
square
#DDF87B #7BF8D4 #967BF8 #F87B9E
split-complementary
#DDF87B #7B9EF8 #D47BF8
monochromatic
#BCEC0D #CEF541 #DDF87B #ECFBB5 #F8FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDF87B#FFFFFF#000000##000000
##DDF87B1.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)
#FFEC6F
Deuteranopia (green-blind)
#FFED82
Tritanopia (blue-blind)
#E7EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ddf87b;
/* rgb */ color: rgb(221, 248, 123);
/* oklch */ color: oklch(93.4% 0.154 119.6);
Tailwind
colors: {
  custom: {
    50: '#eafaa4',
    500: '#ddf87b',
    950: '#000000',
  },
}
SCSS
$custom: #ddf87b;
$custom-light: #eafaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf87b",
  "rgb": {
    "r": 221,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 72.96,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93402,
    "c": 0.15379,
    "h": 119.6
  },
  "luminance": 0.83937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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