#DCF798#DCF798

#DCF798 is a very light, vivid yellow-green. Relative luminance 0.840; OKLCH L 93.5% C 0.123 H 121.8°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#DCF798
RGBrgb(220, 247, 152)
HSLhsl(77, 86%, 78%)
HSVhsv(77, 38%, 97%)
CMYKcmyk(10.9%, 0%, 38.5%, 3.1%)
CIE-LABlab(93.45, -23.62, 42.77)
CIE-LCHlch(93.45, 48.85, 118.91°)
OKLaboklab(93.53% -0.0649 0.1048)
OKLCHoklch(93.53% 0.123 121.8)
XYZxyz(68.4433, 84.0042, 42.3084)
Luminance0.8400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF798 #B398F7
analogous
#F7E398 #DCF798 #ACF798
triadic
#DCF798 #98DCF7 #F798DC
tetradic
#DCF798 #98F7E3 #B398F7 #F798AC
square
#DCF798 #98F7E3 #B398F7 #F798AC
split-complementary
#DCF798 #98ACF7 #E398F7
monochromatic
#B5EE26 #C9F35F #DCF798 #EFFBD1 #F5FDE3

Accessibility & contrast

On white

1.18
#DCF798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#DCF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF798
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF798#FFFFFF#000000##000000
##DCF7981.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED91
Deuteranopia (green-blind)
#FEEC9D
Tritanopia (blue-blind)
#E3EEE0
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dcf798;
/* rgb */ color: rgb(220, 247, 152);
/* oklch */ color: oklch(93.5% 0.123 121.8);
Tailwind
colors: {
  custom: {
    50: '#e8f9b7',
    500: '#dcf798',
    950: '#000000',
  },
}
SCSS
$custom: #dcf798;
$custom-light: #e8f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf798",
  "rgb": {
    "r": 220,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 77.053,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93527,
    "c": 0.12326,
    "h": 121.8
  },
  "luminance": 0.84004
}

Semantic roles & 50–950 ramp

primary
#DCF798
secondary
#7F5DD6
accent
#03E243
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF798

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

Preview Lab → · Contrast checker → · Palette generator →

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