#DCF898#DCF898

#DCF898 is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.7% C 0.125 H 122.1°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#DCF898
RGBrgb(220, 248, 152)
HSLhsl(78, 87%, 78%)
HSVhsv(78, 39%, 97%)
CMYKcmyk(11.3%, 0%, 38.7%, 2.7%)
CIE-LABlab(93.72, -24.09, 43.11)
CIE-LCHlch(93.72, 49.38, 119.20°)
OKLaboklab(93.74% -0.0662 0.1056)
OKLCHoklch(93.74% 0.125 122.1)
XYZxyz(68.7499, 84.6174, 42.4106)
Luminance0.8462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF898 #B498F8
analogous
#F8E498 #DCF898 #ACF898
triadic
#DCF898 #98DCF8 #F898DC
tetradic
#DCF898 #98F8E4 #B498F8 #F898AC
square
#DCF898 #98F8E4 #B498F8 #F898AC
split-complementary
#DCF898 #98ACF8 #E498F8
monochromatic
#B5F025 #C9F45F #DCF898 #EFFCD1 #F5FDE2

Accessibility & contrast

On white

1.17
#DCF898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#DCF898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF898
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF898#FFFFFF#000000##000000
##DCF8981.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE91
Deuteranopia (green-blind)
#FFED9D
Tritanopia (blue-blind)
#E3EFE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcf898;
/* rgb */ color: rgb(220, 248, 152);
/* oklch */ color: oklch(93.7% 0.125 122.1);
Tailwind
colors: {
  custom: {
    50: '#e8fab7',
    500: '#dcf898',
    950: '#000000',
  },
}
SCSS
$custom: #dcf898;
$custom-light: #e8fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf898",
  "rgb": {
    "r": 220,
    "g": 248,
    "b": 152
  },
  "hsl": {
    "h": 77.5,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93739,
    "c": 0.12463,
    "h": 122.1
  },
  "luminance": 0.84617
}

Semantic roles & 50–950 ramp

primary
#DCF898
secondary
#805CD8
accent
#02E444
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF898

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

Preview Lab → · Contrast checker → · Palette generator →

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