#DCFB97#DCFB97

#DCFB97 is a very light, vivid yellow-green. Relative luminance 0.864; OKLCH L 94.4% C 0.130 H 122.9°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#DCFB97
RGBrgb(220, 251, 151)
HSLhsl(79, 93%, 79%)
HSVhsv(79, 40%, 98%)
CMYKcmyk(12.4%, 0%, 39.8%, 1.6%)
CIE-LABlab(94.50, -25.63, 44.60)
CIE-LCHlch(94.50, 51.44, 119.89°)
OKLaboklab(94.36% -0.0706 0.109)
OKLCHoklch(94.36% 0.13 122.9)
XYZxyz(69.5981, 86.4442, 42.2910)
Luminance0.8644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFB97 #B697FB
analogous
#FBE897 #DCFB97 #AAFB97
triadic
#DCFB97 #97DCFB #FB97DC
tetradic
#DCFB97 #97FBE8 #B697FB #FB97AA
square
#DCFB97 #97FBE8 #B697FB #FB97AA
split-complementary
#DCFB97 #97AAFB #E897FB
monochromatic
#B4F621 #C8F95C #DCFB97 #F0FDD2 #F5FEE2

Accessibility & contrast

On white

1.15
#DCFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#DCFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFB97
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFB97#FFFFFF#000000##000000
##DCFB971.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FFEF9C
Tritanopia (blue-blind)
#E3F2E3
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dcfb97;
/* rgb */ color: rgb(220, 251, 151);
/* oklch */ color: oklch(94.4% 0.130 122.9);
Tailwind
colors: {
  custom: {
    50: '#e8fcb7',
    500: '#dcfb97',
    950: '#000000',
  },
}
SCSS
$custom: #dcfb97;
$custom-light: #e8fcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfb97",
  "rgb": {
    "r": 220,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 78.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94362,
    "c": 0.12983,
    "h": 122.9
  },
  "luminance": 0.86444
}

Semantic roles & 50–950 ramp

primary
#DCFB97
secondary
#825ADC
accent
#00E647
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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