#DDF178#DDF178

#DDF178 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 91.9% C 0.148 H 117.2°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#DDF178
RGBrgb(221, 241, 120)
HSLhsl(70, 81%, 71%)
HSVhsv(70, 50%, 95%)
CMYKcmyk(8.3%, 0%, 50.2%, 5.5%)
CIE-LABlab(91.52, -23.70, 55.63)
CIE-LCHlch(91.52, 60.47, 113.08°)
OKLaboklab(91.87% -0.0675 0.1316)
OKLCHoklch(91.87% 0.148 117.2)
XYZxyz(64.6651, 79.6394, 29.7310)
Luminance0.7964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDF178 #8C78F1
analogous
#F1C878 #DDF178 #A0F178
triadic
#DDF178 #78DDF1 #F178DD
tetradic
#DDF178 #78F1C8 #8C78F1 #F178A0
square
#DDF178 #78F1C8 #8C78F1 #F178A0
split-complementary
#DDF178 #78A0F1 #C878F1
monochromatic
#B8D816 #CFEB41 #DDF178 #EBF7AF #F8FCE3

Accessibility & contrast

On white

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

On black

16.93
#DDF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDF178
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDF178#FFFFFF#000000##000000
##DDF1781.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66D
Deuteranopia (green-blind)
#FDE77F
Tritanopia (blue-blind)
#E8E6D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ddf178;
/* rgb */ color: rgb(221, 241, 120);
/* oklch */ color: oklch(91.9% 0.148 117.2);
Tailwind
colors: {
  custom: {
    50: '#e9f5a2',
    500: '#ddf178',
    950: '#000000',
  },
}
SCSS
$custom: #ddf178;
$custom-light: #e9f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ddf178",
  "rgb": {
    "r": 221,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 69.917,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91869,
    "c": 0.14792,
    "h": 117.2
  },
  "luminance": 0.79639
}

Semantic roles & 50–950 ramp

primary
#DDF178
secondary
#5942CB
accent
#08DE2B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DDF178

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

Preview Lab → · Contrast checker → · Palette generator →

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