#DDF371#DDF371

#DDF371 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.2% C 0.157 H 117.6°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#DDF371
RGBrgb(221, 243, 113)
HSLhsl(70, 84%, 70%)
HSVhsv(70, 53%, 95%)
CMYKcmyk(9.1%, 0%, 53.5%, 4.7%)
CIE-LABlab(91.98, -25.26, 59.34)
CIE-LCHlch(91.98, 64.49, 113.06°)
OKLaboklab(92.21% -0.0726 0.139)
OKLCHoklch(92.21% 0.157 117.6)
XYZxyz(64.8509, 80.6662, 27.7733)
Luminance0.8067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF371 #8771F3
analogous
#F3C871 #DDF371 #9CF371
triadic
#DDF371 #71DDF3 #F371DD
tetradic
#DDF371 #71F3C8 #8771F3 #F3719C
square
#DDF371 #71F3C8 #8771F3 #F3719C
split-complementary
#DDF371 #719CF3 #C871F3
monochromatic
#B6D712 #CFEE39 #DDF371 #EBF8A9 #F8FDE2

Accessibility & contrast

On white

1.23
#DDF371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.13
#DDF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF371
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF371#FFFFFF#000000##000000
##DDF3711.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#E8E7D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ddf371;
/* rgb */ color: rgb(221, 243, 113);
/* oklch */ color: oklch(92.2% 0.157 117.6);
Tailwind
colors: {
  custom: {
    50: '#eaf79d',
    500: '#ddf371',
    950: '#000000',
  },
}
SCSS
$custom: #ddf371;
$custom-light: #eaf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf371",
  "rgb": {
    "r": 221,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 70.154,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92214,
    "c": 0.15683,
    "h": 117.6
  },
  "luminance": 0.80666
}

Semantic roles & 50–950 ramp

primary
#DDF371
secondary
#543BCD
accent
#05E12A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DDF371

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

Preview Lab → · Contrast checker → · Palette generator →

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