#DDF172#DDF172

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

Color values

HEX#DDF172
RGBrgb(221, 241, 114)
HSLhsl(69, 82%, 70%)
HSVhsv(69, 53%, 95%)
CMYKcmyk(8.3%, 0%, 52.7%, 5.5%)
CIE-LABlab(91.46, -24.23, 58.28)
CIE-LCHlch(91.46, 63.12, 112.57°)
OKLaboklab(91.8% -0.0696 0.1368)
OKLCHoklch(91.8% 0.154 117)
XYZxyz(64.3123, 79.4983, 27.8731)
Luminance0.7950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF172 #8672F1
analogous
#F1C672 #DDF172 #9EF172
triadic
#DDF172 #72DDF1 #F172DD
tetradic
#DDF172 #72F1C6 #8672F1 #F1729E
square
#DDF172 #72F1C6 #8672F1 #F1729E
split-complementary
#DDF172 #729EF1 #C672F1
monochromatic
#B6D415 #D0EB3A #DDF172 #EAF7AA #F8FCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDF172#FFFFFF#000000##000000
##DDF1721.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)
#FFE666
Deuteranopia (green-blind)
#FDE779
Tritanopia (blue-blind)
#E8E5D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ddf172;
/* rgb */ color: rgb(221, 241, 114);
/* oklch */ color: oklch(91.8% 0.154 117.0);
Tailwind
colors: {
  custom: {
    50: '#eaf59e',
    500: '#ddf172',
    950: '#000000',
  },
}
SCSS
$custom: #ddf172;
$custom-light: #eaf59e;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf172",
  "rgb": {
    "r": 221,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 69.449,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91798,
    "c": 0.15351,
    "h": 117
  },
  "luminance": 0.79498
}

Semantic roles & 50–950 ramp

primary
#DDF172
secondary
#533DCA
accent
#07DE29
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DDF172

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

Preview Lab → · Contrast checker → · Palette generator →

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