#DDF171#DDF171

#DDF171 is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 91.8% C 0.154 H 116.9°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#DDF171
RGBrgb(221, 241, 113)
HSLhsl(69, 82%, 69%)
HSVhsv(69, 53%, 95%)
CMYKcmyk(8.3%, 0%, 53.1%, 5.5%)
CIE-LABlab(91.45, -24.31, 58.72)
CIE-LCHlch(91.45, 63.56, 112.49°)
OKLaboklab(91.79% -0.0699 0.1377)
OKLCHoklch(91.79% 0.154 116.9)
XYZxyz(64.2557, 79.4757, 27.5749)
Luminance0.7947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF171 #8571F1
analogous
#F1C571 #DDF171 #9DF171
triadic
#DDF171 #71DDF1 #F171DD
tetradic
#DDF171 #71F1C5 #8571F1 #F1719D
square
#DDF171 #71F1C5 #8571F1 #F1719D
split-complementary
#DDF171 #719DF1 #C571F1
monochromatic
#B5D315 #D0EC39 #DDF171 #EAF6A9 #F8FCE0

Accessibility & contrast

On white

1.24
#DDF171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#DDF171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF171
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF171#FFFFFF#000000##000000
##DDF1711.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FDE778
Tritanopia (blue-blind)
#E8E5D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ddf171;
/* rgb */ color: rgb(221, 241, 113);
/* oklch */ color: oklch(91.8% 0.154 116.9);
Tailwind
colors: {
  custom: {
    50: '#eaf59d',
    500: '#ddf171',
    950: '#000000',
  },
}
SCSS
$custom: #ddf171;
$custom-light: #eaf59d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf171",
  "rgb": {
    "r": 221,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 69.375,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91786,
    "c": 0.15441,
    "h": 116.9
  },
  "luminance": 0.79475
}

Semantic roles & 50–950 ramp

primary
#DDF171
secondary
#523CCA
accent
#07DE29
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DDF171

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

Preview Lab → · Contrast checker → · Palette generator →

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