#DFFD97#DFFD97

#DFFD97 is a very light, vivid yellow-green. Relative luminance 0.882; OKLCH L 95.0% C 0.132 H 122.3°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#DFFD97
RGBrgb(223, 253, 151)
HSLhsl(78, 96%, 79%)
HSVhsv(78, 40%, 99%)
CMYKcmyk(11.9%, 0%, 40.3%, 0.8%)
CIE-LABlab(95.23, -25.48, 45.57)
CIE-LCHlch(95.23, 52.21, 119.21°)
OKLaboklab(95% -0.0703 0.1112)
OKLCHoklch(95% 0.132 122.3)
XYZxyz(71.1425, 88.1728, 42.5433)
Luminance0.8817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFD97 #B597FD
analogous
#FDE897 #DFFD97 #ACFD97
triadic
#DFFD97 #97DFFD #FD97DF
tetradic
#DFFD97 #97FDE8 #B597FD #FD97AC
square
#DFFD97 #97FDE8 #B597FD #FD97AC
split-complementary
#DFFD97 #97ACFD #E897FD
monochromatic
#BAFB1F #CDFC5B #DFFD97 #F1FED3 #F6FEE1

Accessibility & contrast

On white

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

On black

18.63
#DFFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFD97
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFD97#FFFFFF#000000##000000
##DFFD971.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF19C
Tritanopia (blue-blind)
#E7F4E4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #dffd97;
/* rgb */ color: rgb(223, 253, 151);
/* oklch */ color: oklch(95.0% 0.132 122.3);
Tailwind
colors: {
  custom: {
    50: '#eafeb7',
    500: '#dffd97',
    950: '#000000',
  },
}
SCSS
$custom: #dffd97;
$custom-light: #eafeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dffd97",
  "rgb": {
    "r": 223,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 77.647,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.94999,
    "c": 0.13151,
    "h": 122.3
  },
  "luminance": 0.88173
}

Semantic roles & 50–950 ramp

primary
#DFFD97
secondary
#8159DF
accent
#00E643
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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