#DFFB97#DFFB97

#DFFB97 is a very light, vivid yellow-green. Relative luminance 0.869; OKLCH L 94.6% C 0.129 H 121.7°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#DFFB97
RGBrgb(223, 251, 151)
HSLhsl(77, 93%, 79%)
HSVhsv(77, 40%, 98%)
CMYKcmyk(11.2%, 0%, 39.8%, 1.6%)
CIE-LABlab(94.70, -24.53, 44.89)
CIE-LCHlch(94.70, 51.16, 118.65°)
OKLaboklab(94.57% -0.0676 0.1096)
OKLCHoklch(94.57% 0.129 121.7)
XYZxyz(70.5144, 86.9167, 42.3339)
Luminance0.8692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFB97 #B397FB
analogous
#FBE597 #DFFB97 #ADFB97
triadic
#DFFB97 #97DFFB #FB97DF
tetradic
#DFFB97 #97FBE5 #B397FB #FB97AD
square
#DFFB97 #97FBE5 #B397FB #FB97AD
split-complementary
#DFFB97 #97ADFB #E597FB
monochromatic
#BBF621 #CDF95C #DFFB97 #F1FDD2 #F6FEE2

Accessibility & contrast

On white

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

On black

18.38
#DFFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFB97
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFB97#FFFFFF#000000##000000
##DFFB971.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dffb97;
/* rgb */ color: rgb(223, 251, 151);
/* oklch */ color: oklch(94.6% 0.129 121.7);
Tailwind
colors: {
  custom: {
    50: '#eafcb7',
    500: '#dffb97',
    950: '#000000',
  },
}
SCSS
$custom: #dffb97;
$custom-light: #eafcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dffb97",
  "rgb": {
    "r": 223,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 76.8,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94574,
    "c": 0.12878,
    "h": 121.7
  },
  "luminance": 0.86917
}

Semantic roles & 50–950 ramp

primary
#DFFB97
secondary
#7F5ADC
accent
#00E640
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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