#DCF997#DCF997

#DCF997 is a very light, vivid yellow-green. Relative luminance 0.852; OKLCH L 93.9% C 0.127 H 122.3°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#DCF997
RGBrgb(220, 249, 151)
HSLhsl(78, 89%, 78%)
HSVhsv(78, 39%, 98%)
CMYKcmyk(11.6%, 0%, 39.4%, 2.4%)
CIE-LABlab(93.97, -24.69, 43.92)
CIE-LCHlch(93.97, 50.38, 119.34°)
OKLaboklab(93.94% -0.0679 0.1074)
OKLCHoklch(93.94% 0.127 122.3)
XYZxyz(68.9766, 85.2013, 42.0838)
Luminance0.8520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF997 #B497F9
analogous
#F9E597 #DCF997 #ABF997
triadic
#DCF997 #97DCF9 #F997DC
tetradic
#DCF997 #97F9E5 #B497F9 #F997AB
square
#DCF997 #97F9E5 #B497F9 #F997AB
split-complementary
#DCF997 #97ABF9 #E597F9
monochromatic
#B5F223 #C9F65D #DCF997 #EFFCD1 #F5FDE2

Accessibility & contrast

On white

1.16
#DCF997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#DCF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF997
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF997#FFFFFF#000000##000000
##DCF9971.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE90
Deuteranopia (green-blind)
#FFEE9C
Tritanopia (blue-blind)
#E3F0E1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dcf997;
/* rgb */ color: rgb(220, 249, 151);
/* oklch */ color: oklch(93.9% 0.127 122.3);
Tailwind
colors: {
  custom: {
    50: '#e8fbb7',
    500: '#dcf997',
    950: '#000000',
  },
}
SCSS
$custom: #dcf997;
$custom-light: #e8fbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf997",
  "rgb": {
    "r": 220,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 77.755,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93936,
    "c": 0.12709,
    "h": 122.3
  },
  "luminance": 0.85201
}

Semantic roles & 50–950 ramp

primary
#DCF997
secondary
#805BD9
accent
#00E644
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF997

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

Preview Lab → · Contrast checker → · Palette generator →

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