#DEFF98#DEFF98

#DEFF98 is a very light, vivid yellow-green. Relative luminance 0.893; OKLCH L 95.4% C 0.134 H 123.4°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#DEFF98
RGBrgb(222, 255, 152)
HSLhsl(79, 100%, 80%)
HSVhsv(79, 40%, 100%)
CMYKcmyk(12.9%, 0%, 40.4%, 0%)
CIE-LABlab(95.71, -26.67, 45.68)
CIE-LCHlch(95.71, 52.90, 120.28°)
OKLaboklab(95.37% -0.0735 0.1115)
OKLCHoklch(95.37% 0.134 123.4)
XYZxyz(71.5515, 89.3164, 43.1699)
Luminance0.8932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEFF98 #B998FF
analogous
#FFEC98 #DEFF98 #ABFF98
triadic
#DEFF98 #98DEFF #FF98DE
tetradic
#DEFF98 #98FFEC #B998FF #FF98AB
square
#DEFF98 #98FFEC #B998FF #FF98AB
split-complementary
#DEFF98 #98ABFF #EC98FF
monochromatic
#B7FF1E #CAFF5B #DEFF98 #F2FFD5 #F5FFE0

Accessibility & contrast

On white

1.11
#DEFF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#DEFF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEFF98
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEFF98#FFFFFF#000000##000000
##DEFF981.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF490
Deuteranopia (green-blind)
#FFF29D
Tritanopia (blue-blind)
#E5F6E6
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #deff98;
/* rgb */ color: rgb(222, 255, 152);
/* oklch */ color: oklch(95.4% 0.134 123.4);
Tailwind
colors: {
  custom: {
    50: '#e9ffb7',
    500: '#deff98',
    950: '#000000',
  },
}
SCSS
$custom: #deff98;
$custom-light: #e9ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#deff98",
  "rgb": {
    "r": 222,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 79.223,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.9537,
    "c": 0.13353,
    "h": 123.4
  },
  "luminance": 0.89317
}

Semantic roles & 50–950 ramp

primary
#DEFF98
secondary
#8559E2
accent
#00E64A
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161811
muted
#848681

Preview Lab

Preview with #DEFF98

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

Preview Lab → · Contrast checker → · Palette generator →

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