#DFFA97#DFFA97

#DFFA97 is a very light, vivid yellow-green. Relative luminance 0.863; OKLCH L 94.4% C 0.127 H 121.3°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#DFFA97
RGBrgb(223, 250, 151)
HSLhsl(76, 91%, 79%)
HSVhsv(76, 40%, 98%)
CMYKcmyk(10.8%, 0%, 39.6%, 2%)
CIE-LABlab(94.44, -24.06, 44.56)
CIE-LCHlch(94.44, 50.64, 118.36°)
OKLaboklab(94.36% -0.0663 0.1088)
OKLCHoklch(94.36% 0.127 121.3)
XYZxyz(70.2029, 86.2936, 42.2301)
Luminance0.8629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFA97 #B297FA
analogous
#FAE497 #DFFA97 #ADFA97
triadic
#DFFA97 #97DFFA #FA97DF
tetradic
#DFFA97 #97FAE4 #B297FA #FA97AD
square
#DFFA97 #97FAE4 #B297FA #FA97AD
split-complementary
#DFFA97 #97ADFA #E497FA
monochromatic
#BBF422 #CDF75D #DFFA97 #F1FDD1 #F6FEE2

Accessibility & contrast

On white

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

On black

18.26
#DFFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFA97
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFA97#FFFFFF#000000##000000
##DFFA971.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dffa97;
/* rgb */ color: rgb(223, 250, 151);
/* oklch */ color: oklch(94.4% 0.127 121.3);
Tailwind
colors: {
  custom: {
    50: '#eafcb7',
    500: '#dffa97',
    950: '#000000',
  },
}
SCSS
$custom: #dffa97;
$custom-light: #eafcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dffa97",
  "rgb": {
    "r": 223,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 76.364,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94362,
    "c": 0.12742,
    "h": 121.3
  },
  "luminance": 0.86294
}

Semantic roles & 50–950 ramp

primary
#DFFA97
secondary
#7E5BDA
accent
#00E63F
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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