#DDF381#DDF381

#DDF381 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.4% C 0.142 H 118.3°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#DDF381
RGBrgb(221, 243, 129)
HSLhsl(72, 83%, 73%)
HSVhsv(72, 47%, 95%)
CMYKcmyk(9.1%, 0%, 46.9%, 4.7%)
CIE-LABlab(92.16, -23.81, 52.21)
CIE-LCHlch(92.16, 57.39, 114.51°)
OKLaboklab(92.41% -0.0671 0.1248)
OKLCHoklch(92.41% 0.142 118.3)
XYZxyz(65.8324, 81.0588, 32.9424)
Luminance0.8106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF381 #9781F3
analogous
#F3D081 #DDF381 #A4F381
triadic
#DDF381 #81DDF3 #F381DD
tetradic
#DDF381 #81F3D0 #9781F3 #F381A4
square
#DDF381 #81F3D0 #9781F3 #F381A4
split-complementary
#DDF381 #81A4F3 #D081F3
monochromatic
#BCE416 #CEEE49 #DDF381 #ECF8B9 #F7FCE3

Accessibility & contrast

On white

1.22
#DDF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#DDF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF381
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF381#FFFFFF#000000##000000
##DDF3811.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#FEE987
Tritanopia (blue-blind)
#E7E8D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ddf381;
/* rgb */ color: rgb(221, 243, 129);
/* oklch */ color: oklch(92.4% 0.142 118.3);
Tailwind
colors: {
  custom: {
    50: '#e9f7a8',
    500: '#ddf381',
    950: '#000000',
  },
}
SCSS
$custom: #ddf381;
$custom-light: #e9f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf381",
  "rgb": {
    "r": 221,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 71.579,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92411,
    "c": 0.14168,
    "h": 118.3
  },
  "luminance": 0.81058
}

Semantic roles & 50–950 ramp

primary
#DDF381
secondary
#634ACF
accent
#06DF30
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #DDF381

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

Preview Lab → · Contrast checker → · Palette generator →

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