#DCF897#DCF897

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

Color values

HEX#DCF897
RGBrgb(220, 248, 151)
HSLhsl(77, 87%, 78%)
HSVhsv(77, 39%, 97%)
CMYKcmyk(11.3%, 0%, 39.1%, 2.7%)
CIE-LABlab(93.70, -24.21, 43.58)
CIE-LCHlch(93.70, 49.85, 119.05°)
OKLaboklab(93.72% -0.0666 0.1066)
OKLCHoklch(93.72% 0.126 122)
XYZxyz(68.6684, 84.5848, 41.9811)
Luminance0.8458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF897 #B397F8
analogous
#F8E497 #DCF897 #ABF897
triadic
#DCF897 #97DCF8 #F897DC
tetradic
#DCF897 #97F8E4 #B397F8 #F897AB
square
#DCF897 #97F8E4 #B397F8 #F897AB
split-complementary
#DCF897 #97ABF8 #E497F8
monochromatic
#B5F024 #C9F45E #DCF897 #EFFCD0 #F5FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCF897#FFFFFF#000000##000000
##DCF8971.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)
#FFED90
Deuteranopia (green-blind)
#FFED9C
Tritanopia (blue-blind)
#E3EFE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcf897;
/* rgb */ color: rgb(220, 248, 151);
/* oklch */ color: oklch(93.7% 0.126 122.0);
Tailwind
colors: {
  custom: {
    50: '#e8fab7',
    500: '#dcf897',
    950: '#000000',
  },
}
SCSS
$custom: #dcf897;
$custom-light: #e8fab7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf897",
  "rgb": {
    "r": 220,
    "g": 248,
    "b": 151
  },
  "hsl": {
    "h": 77.32,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93723,
    "c": 0.12571,
    "h": 122
  },
  "luminance": 0.84585
}

Semantic roles & 50–950 ramp

primary
#DCF897
secondary
#7F5CD8
accent
#02E443
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCF897

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

Preview Lab → · Contrast checker → · Palette generator →

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