#DDFF42#DDFF42

#DDFF42 is a very light, highly saturated yellow-green. Relative luminance 0.873; OKLCH L 94.4% C 0.204 H 119.6°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#DDFF42
RGBrgb(221, 255, 66)
HSLhsl(71, 100%, 63%)
HSVhsv(71, 74%, 100%)
CMYKcmyk(13.3%, 0%, 74.1%, 0%)
CIE-LABlab(94.86, -33.82, 80.38)
CIE-LCHlch(94.86, 87.20, 112.82°)
OKLaboklab(94.41% -0.1007 0.1772)
OKLCHoklch(94.41% 0.204 119.6)
XYZxyz(66.5635, 87.2859, 18.4944)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDFF42 #6442FF
analogous
#FFC342 #DDFF42 #7EFF42
triadic
#DDFF42 #42DDFF #FF42DD
tetradic
#DDFF42 #42FFC3 #6442FF #FF427E
square
#DDFF42 #42FFC3 #6442FF #FF427E
split-complementary
#DDFF42 #427EFF #C342FF
monochromatic
#A3C700 #D2FF05 #DDFF42 #E8FF7F #F3FFBC

Accessibility & contrast

On white

1.14
#DDFF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#DDFF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDFF42
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDFF42#FFFFFF#000000##000000
##DDFF421.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF013
Deuteranopia (green-blind)
#FFF153
Tritanopia (blue-blind)
#EAF1DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ddff42;
/* rgb */ color: rgb(221, 255, 66);
/* oklch */ color: oklch(94.4% 0.204 119.6);
Tailwind
colors: {
  custom: {
    50: '#ecff84',
    500: '#ddff42',
    950: '#000000',
  },
}
SCSS
$custom: #ddff42;
$custom-light: #ecff84;
$custom-dark: #000000;
JSON
{
  "hex": "#ddff42",
  "rgb": {
    "r": 221,
    "g": 255,
    "b": 66
  },
  "hsl": {
    "h": 70.794,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.94414,
    "c": 0.20384,
    "h": 119.6
  },
  "luminance": 0.87285
}

Semantic roles & 50–950 ramp

primary
#DDFF42
secondary
#3F22C3
accent
#00E629
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17180C
muted
#85867F

Preview Lab

Preview with #DDFF42

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

Preview Lab → · Contrast checker → · Palette generator →

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