#DCFF98#DCFF98

#DCFF98 is a very light, vivid yellow-green. Relative luminance 0.890; OKLCH L 95.2% C 0.134 H 124.2°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#DCFF98
RGBrgb(220, 255, 152)
HSLhsl(80, 100%, 80%)
HSVhsv(80, 40%, 100%)
CMYKcmyk(13.7%, 0%, 40.4%, 0%)
CIE-LABlab(95.58, -27.40, 45.49)
CIE-LCHlch(95.58, 53.10, 121.07°)
OKLaboklab(95.23% -0.0755 0.111)
OKLCHoklch(95.23% 0.134 124.2)
XYZxyz(70.9424, 89.0023, 43.1414)
Luminance0.8900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFF98 #BB98FF
analogous
#FFEE98 #DCFF98 #A9FF98
triadic
#DCFF98 #98DCFF #FF98DC
tetradic
#DCFF98 #98FFEE #BB98FF #FF98A9
square
#DCFF98 #98FFEE #BB98FF #FF98A9
split-complementary
#DCFF98 #98A9FF #EE98FF
monochromatic
#B2FF1E #C7FF5B #DCFF98 #F1FFD5 #F5FFE0

Accessibility & contrast

On white

1.12
#DCFF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#DCFF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFF98
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFF98#FFFFFF#000000##000000
##DCFF981.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF390
Deuteranopia (green-blind)
#FFF29D
Tritanopia (blue-blind)
#E3F6E6
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #dcff98;
/* rgb */ color: rgb(220, 255, 152);
/* oklch */ color: oklch(95.2% 0.134 124.2);
Tailwind
colors: {
  custom: {
    50: '#e8ffb7',
    500: '#dcff98',
    950: '#000000',
  },
}
SCSS
$custom: #dcff98;
$custom-light: #e8ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcff98",
  "rgb": {
    "r": 220,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 80.388,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.95232,
    "c": 0.13428,
    "h": 124.2
  },
  "luminance": 0.89003
}

Semantic roles & 50–950 ramp

primary
#DCFF98
secondary
#8859E2
accent
#00E64E
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161811
muted
#848681

Preview Lab

Preview with #DCFF98

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

Preview Lab → · Contrast checker → · Palette generator →

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