#DCF797#DCF797

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

Color values

HEX#DCF797
RGBrgb(220, 247, 151)
HSLhsl(77, 86%, 78%)
HSVhsv(77, 39%, 97%)
CMYKcmyk(10.9%, 0%, 38.9%, 3.1%)
CIE-LABlab(93.44, -23.73, 43.24)
CIE-LCHlch(93.44, 49.32, 118.76°)
OKLaboklab(93.51% -0.0652 0.1059)
OKLCHoklch(93.51% 0.124 121.7)
XYZxyz(68.3618, 83.9715, 41.8789)
Luminance0.8397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF797 #B297F7
analogous
#F7E297 #DCF797 #ACF797
triadic
#DCF797 #97DCF7 #F797DC
tetradic
#DCF797 #97F7E2 #B297F7 #F797AC
square
#DCF797 #97F7E2 #B297F7 #F797AC
split-complementary
#DCF797 #97ACF7 #E297F7
monochromatic
#B6EE25 #C9F35E #DCF797 #EFFBD0 #F5FDE3

Accessibility & contrast

On white

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

On black

17.79
#DCF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF797
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF797#FFFFFF#000000##000000
##DCF7971.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FEEC9C
Tritanopia (blue-blind)
#E3EEDF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dcf797;
/* rgb */ color: rgb(220, 247, 151);
/* oklch */ color: oklch(93.5% 0.124 121.7);
Tailwind
colors: {
  custom: {
    50: '#e8f9b7',
    500: '#dcf797',
    950: '#000000',
  },
}
SCSS
$custom: #dcf797;
$custom-light: #e8f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf797",
  "rgb": {
    "r": 220,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 76.875,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93511,
    "c": 0.12435,
    "h": 121.7
  },
  "luminance": 0.83972
}

Semantic roles & 50–950 ramp

primary
#DCF797
secondary
#7E5CD6
accent
#03E242
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF797

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

Preview Lab → · Contrast checker → · Palette generator →

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