#DCFC97#DCFC97

#DCFC97 is a very light, vivid yellow-green. Relative luminance 0.871; OKLCH L 94.6% C 0.131 H 123.2°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#DCFC97
RGBrgb(220, 252, 151)
HSLhsl(79, 94%, 79%)
HSVhsv(79, 40%, 99%)
CMYKcmyk(12.7%, 0%, 40.1%, 1.2%)
CIE-LABlab(94.77, -26.11, 44.94)
CIE-LCHlch(94.77, 51.97, 120.16°)
OKLaboklab(94.58% -0.0719 0.1097)
OKLCHoklch(94.58% 0.131 123.2)
XYZxyz(69.9113, 87.0706, 42.3954)
Luminance0.8707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFC97 #B797FC
analogous
#FCEA97 #DCFC97 #AAFC97
triadic
#DCFC97 #97DCFC #FC97DC
tetradic
#DCFC97 #97FCEA #B797FC #FC97AA
square
#DCFC97 #97FCEA #B797FC #FC97AA
split-complementary
#DCFC97 #97AAFC #EA97FC
monochromatic
#B4F920 #C8FA5C #DCFC97 #F0FED2 #F5FEE1

Accessibility & contrast

On white

1.14
#DCFC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#DCFC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFC97
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFC97#FFFFFF#000000##000000
##DCFC971.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18F
Deuteranopia (green-blind)
#FFF09C
Tritanopia (blue-blind)
#E3F3E3
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #dcfc97;
/* rgb */ color: rgb(220, 252, 151);
/* oklch */ color: oklch(94.6% 0.131 123.2);
Tailwind
colors: {
  custom: {
    50: '#e8fdb7',
    500: '#dcfc97',
    950: '#000000',
  },
}
SCSS
$custom: #dcfc97;
$custom-light: #e8fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfc97",
  "rgb": {
    "r": 220,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 79.01,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94576,
    "c": 0.13121,
    "h": 123.2
  },
  "luminance": 0.87071
}

Semantic roles & 50–950 ramp

primary
#DCFC97
secondary
#845ADD
accent
#00E649
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DCFC97

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

Preview Lab → · Contrast checker → · Palette generator →

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