#DFFC97#DFFC97

#DFFC97 is a very light, vivid yellow-green. Relative luminance 0.875; OKLCH L 94.8% C 0.130 H 122.0°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#DFFC97
RGBrgb(223, 252, 151)
HSLhsl(77, 94%, 79%)
HSVhsv(77, 40%, 99%)
CMYKcmyk(11.5%, 0%, 40.1%, 1.2%)
CIE-LABlab(94.97, -25.01, 45.23)
CIE-LCHlch(94.97, 51.68, 118.94°)
OKLaboklab(94.79% -0.0689 0.1104)
OKLCHoklch(94.79% 0.13 122)
XYZxyz(70.8276, 87.5431, 42.4383)
Luminance0.8754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFC97 #B497FC
analogous
#FCE797 #DFFC97 #ADFC97
triadic
#DFFC97 #97DFFC #FC97DF
tetradic
#DFFC97 #97FCE7 #B497FC #FC97AD
square
#DFFC97 #97FCE7 #B497FC #FC97AD
split-complementary
#DFFC97 #97ADFC #E797FC
monochromatic
#BAF920 #CDFA5C #DFFC97 #F1FED2 #F6FEE1

Accessibility & contrast

On white

1.13
#DFFC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#DFFC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFC97
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFC97#FFFFFF#000000##000000
##DFFC971.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dffc97;
/* rgb */ color: rgb(223, 252, 151);
/* oklch */ color: oklch(94.8% 0.130 122.0);
Tailwind
colors: {
  custom: {
    50: '#eafdb7',
    500: '#dffc97',
    950: '#000000',
  },
}
SCSS
$custom: #dffc97;
$custom-light: #eafdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dffc97",
  "rgb": {
    "r": 223,
    "g": 252,
    "b": 151
  },
  "hsl": {
    "h": 77.228,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94786,
    "c": 0.13015,
    "h": 122
  },
  "luminance": 0.87543
}

Semantic roles & 50–950 ramp

primary
#DFFC97
secondary
#805ADD
accent
#00E642
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFC97

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

Preview Lab → · Contrast checker → · Palette generator →

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