#DFF796#DFF796

#DFF796 is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.7% C 0.124 H 120.2°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#DFF796
RGBrgb(223, 247, 150)
HSLhsl(75, 86%, 78%)
HSVhsv(75, 39%, 97%)
CMYKcmyk(9.7%, 0%, 39.3%, 3.1%)
CIE-LABlab(93.63, -22.74, 44.01)
CIE-LCHlch(93.63, 49.54, 117.32°)
OKLaboklab(93.71% -0.0626 0.1076)
OKLCHoklch(93.71% 0.124 120.2)
XYZxyz(69.1972, 84.4117, 41.4959)
Luminance0.8441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF796 #AE96F7
analogous
#F7DE96 #DFF796 #AFF796
triadic
#DFF796 #96DFF7 #F796DF
tetradic
#DFF796 #96F7DE #AE96F7 #F796AF
square
#DFF796 #96F7DE #AE96F7 #F796AF
split-complementary
#DFF796 #96AFF7 #DE96F7
monochromatic
#BCEE24 #CEF35D #DFF796 #F0FBCF #F6FDE3

Accessibility & contrast

On white

1.17
#DFF796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#DFF796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF796
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF796#FFFFFF#000000##000000
##DFF7961.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFED9B
Tritanopia (blue-blind)
#E7EEDF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dff796;
/* rgb */ color: rgb(223, 247, 150);
/* oklch */ color: oklch(93.7% 0.124 120.2);
Tailwind
colors: {
  custom: {
    50: '#eaf9b6',
    500: '#dff796',
    950: '#000000',
  },
}
SCSS
$custom: #dff796;
$custom-light: #eaf9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dff796",
  "rgb": {
    "r": 223,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 74.845,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.9371,
    "c": 0.12445,
    "h": 120.2
  },
  "luminance": 0.84412
}

Semantic roles & 50–950 ramp

primary
#DFF796
secondary
#7A5BD6
accent
#03E23A
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFF796

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

Preview Lab → · Contrast checker → · Palette generator →

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