#DEFF52#DEFF52

#DEFF52 is a very light, vivid yellow-green. Relative luminance 0.877; OKLCH L 94.6% C 0.194 H 119.7°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#DEFF52
RGBrgb(222, 255, 82)
HSLhsl(71, 100%, 66%)
HSVhsv(71, 68%, 100%)
CMYKcmyk(12.9%, 0%, 67.8%, 0%)
CIE-LABlab(95.02, -32.63, 75.22)
CIE-LCHlch(95.02, 81.99, 113.45°)
OKLaboklab(94.59% -0.0961 0.1688)
OKLCHoklch(94.59% 0.194 119.7)
XYZxyz(67.4084, 87.6591, 21.3498)
Luminance0.8766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFF52 #7352FF
analogous
#FFC952 #DEFF52 #87FF52
triadic
#DEFF52 #52DEFF #FF52DE
tetradic
#DEFF52 #52FFC9 #7352FF #FF5287
square
#DEFF52 #52FFC9 #7352FF #FF5287
split-complementary
#DEFF52 #5287FF #C952FF
monochromatic
#AED700 #D2FF15 #DEFF52 #EAFF8F #F5FFCC

Accessibility & contrast

On white

1.13
#DEFF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#DEFF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFF52
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFF52#FFFFFF#000000##000000
##DEFF521.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF137
Deuteranopia (green-blind)
#FFF160
Tritanopia (blue-blind)
#EAF2DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #deff52;
/* rgb */ color: rgb(222, 255, 82);
/* oklch */ color: oklch(94.6% 0.194 119.7);
Tailwind
colors: {
  custom: {
    50: '#ecff8c',
    500: '#deff52',
    950: '#000000',
  },
}
SCSS
$custom: #deff52;
$custom-light: #ecff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#deff52",
  "rgb": {
    "r": 222,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 71.445,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94587,
    "c": 0.19429,
    "h": 119.7
  },
  "luminance": 0.87659
}

Semantic roles & 50–950 ramp

primary
#DEFF52
secondary
#4625D0
accent
#00E62C
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17180D
muted
#85867F

Preview Lab

Preview with #DEFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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