#DCF796#DCF796

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

Color values

HEX#DCF796
RGBrgb(220, 247, 150)
HSLhsl(77, 86%, 78%)
HSVhsv(77, 39%, 97%)
CMYKcmyk(10.9%, 0%, 39.3%, 3.1%)
CIE-LABlab(93.42, -23.85, 43.71)
CIE-LCHlch(93.42, 49.79, 118.62°)
OKLaboklab(93.49% -0.0656 0.1069)
OKLCHoklch(93.49% 0.125 121.6)
XYZxyz(68.2809, 83.9392, 41.4530)
Luminance0.8394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF796 #B196F7
analogous
#F7E196 #DCF796 #ABF796
triadic
#DCF796 #96DCF7 #F796DC
tetradic
#DCF796 #96F7E1 #B196F7 #F796AB
square
#DCF796 #96F7E1 #B196F7 #F796AB
split-complementary
#DCF796 #96ABF7 #E196F7
monochromatic
#B6EE24 #C9F35D #DCF796 #EFFBCF #F6FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCF796#FFFFFF#000000##000000
##DCF7961.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)
#FFED8F
Deuteranopia (green-blind)
#FEEC9B
Tritanopia (blue-blind)
#E4EEDF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dcf796;
/* rgb */ color: rgb(220, 247, 150);
/* oklch */ color: oklch(93.5% 0.125 121.6);
Tailwind
colors: {
  custom: {
    50: '#e8f9b6',
    500: '#dcf796',
    950: '#000000',
  },
}
SCSS
$custom: #dcf796;
$custom-light: #e8f9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf796",
  "rgb": {
    "r": 220,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 76.701,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93495,
    "c": 0.12542,
    "h": 121.6
  },
  "luminance": 0.83939
}

Semantic roles & 50–950 ramp

primary
#DCF796
secondary
#7D5BD6
accent
#03E241
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF796

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

Preview Lab → · Contrast checker → · Palette generator →

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