#DEFF42#DEFF42

#DEFF42 is a very light, highly saturated yellow-green. Relative luminance 0.874; OKLCH L 94.5% C 0.203 H 119.3°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#DEFF42
RGBrgb(222, 255, 66)
HSLhsl(70, 100%, 63%)
HSVhsv(70, 74%, 100%)
CMYKcmyk(12.9%, 0%, 74.1%, 0%)
CIE-LABlab(94.93, -33.43, 80.46)
CIE-LCHlch(94.93, 87.13, 112.56°)
OKLaboklab(94.49% -0.0997 0.1774)
OKLCHoklch(94.49% 0.203 119.3)
XYZxyz(66.8690, 87.4434, 18.5087)
Luminance0.8744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFF42 #6342FF
analogous
#FFC142 #DEFF42 #7FFF42
triadic
#DEFF42 #42DEFF #FF42DE
tetradic
#DEFF42 #42FFC1 #6342FF #FF427F
square
#DEFF42 #42FFC1 #6342FF #FF427F
split-complementary
#DEFF42 #427FFF #C142FF
monochromatic
#A4C700 #D3FF05 #DEFF42 #E9FF7F #F3FFBC

Accessibility & contrast

On white

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

On black

18.49
#DEFF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFF42
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFF42#FFFFFF#000000##000000
##DEFF421.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #deff42;
/* rgb */ color: rgb(222, 255, 66);
/* oklch */ color: oklch(94.5% 0.203 119.3);
Tailwind
colors: {
  custom: {
    50: '#ecff84',
    500: '#deff42',
    950: '#000000',
  },
}
SCSS
$custom: #deff42;
$custom-light: #ecff84;
$custom-dark: #000000;
JSON
{
  "hex": "#deff42",
  "rgb": {
    "r": 222,
    "g": 255,
    "b": 66
  },
  "hsl": {
    "h": 70.476,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.94485,
    "c": 0.20348,
    "h": 119.3
  },
  "luminance": 0.87443
}

Semantic roles & 50–950 ramp

primary
#DEFF42
secondary
#3E22C3
accent
#00E628
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17180C
muted
#85867F

Preview Lab

Preview with #DEFF42

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

Preview Lab → · Contrast checker → · Palette generator →

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