#DFFA96#DFFA96

#DFFA96 is a very light, vivid yellow-green. Relative luminance 0.863; OKLCH L 94.3% C 0.129 H 121.2°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#DFFA96
RGBrgb(223, 250, 150)
HSLhsl(76, 91%, 78%)
HSVhsv(76, 40%, 98%)
CMYKcmyk(10.8%, 0%, 40%, 2%)
CIE-LABlab(94.42, -24.17, 45.02)
CIE-LCHlch(94.42, 51.10, 118.23°)
OKLaboklab(94.35% -0.0666 0.1099)
OKLCHoklch(94.35% 0.129 121.2)
XYZxyz(70.1220, 86.2612, 41.8042)
Luminance0.8626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFA96 #B196FA
analogous
#FAE396 #DFFA96 #ADFA96
triadic
#DFFA96 #96DFFA #FA96DF
tetradic
#DFFA96 #96FAE3 #B196FA #FA96AD
square
#DFFA96 #96FAE3 #B196FA #FA96AD
split-complementary
#DFFA96 #96ADFA #E396FA
monochromatic
#BBF421 #CDF75C #DFFA96 #F1FDD0 #F6FEE2

Accessibility & contrast

On white

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

On black

18.25
#DFFA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFA96
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFA96#FFFFFF#000000##000000
##DFFA961.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dffa96;
/* rgb */ color: rgb(223, 250, 150);
/* oklch */ color: oklch(94.3% 0.129 121.2);
Tailwind
colors: {
  custom: {
    50: '#eafcb6',
    500: '#dffa96',
    950: '#000000',
  },
}
SCSS
$custom: #dffa96;
$custom-light: #eafcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#dffa96",
  "rgb": {
    "r": 223,
    "g": 250,
    "b": 150
  },
  "hsl": {
    "h": 76.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.94346,
    "c": 0.1285,
    "h": 121.2
  },
  "luminance": 0.86261
}

Semantic roles & 50–950 ramp

primary
#DFFA96
secondary
#7D5ADA
accent
#00E63E
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFA96

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

Preview Lab → · Contrast checker → · Palette generator →

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