#DFF797#DFF797

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

Color values

HEX#DFF797
RGBrgb(223, 247, 151)
HSLhsl(75, 86%, 78%)
HSVhsv(75, 39%, 97%)
CMYKcmyk(9.7%, 0%, 38.9%, 3.1%)
CIE-LABlab(93.64, -22.62, 43.54)
CIE-LCHlch(93.64, 49.07, 117.46°)
OKLaboklab(93.73% -0.0622 0.1065)
OKLCHoklch(93.73% 0.123 120.3)
XYZxyz(69.2781, 84.4440, 41.9218)
Luminance0.8444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF797 #AF97F7
analogous
#F7DF97 #DFF797 #AFF797
triadic
#DFF797 #97DFF7 #F797DF
tetradic
#DFF797 #97F7DF #AF97F7 #F797AF
square
#DFF797 #97F7DF #AF97F7 #F797AF
split-complementary
#DFF797 #97AFF7 #DF97F7
monochromatic
#BCEE25 #CEF35E #DFF797 #F0FBD0 #F6FDE3

Accessibility & contrast

On white

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

On black

17.89
#DFF797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF797
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF797#FFFFFF#000000##000000
##DFF7971.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dff797;
/* rgb */ color: rgb(223, 247, 151);
/* oklch */ color: oklch(93.7% 0.123 120.3);
Tailwind
colors: {
  custom: {
    50: '#eaf9b7',
    500: '#dff797',
    950: '#000000',
  },
}
SCSS
$custom: #dff797;
$custom-light: #eaf9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dff797",
  "rgb": {
    "r": 223,
    "g": 247,
    "b": 151
  },
  "hsl": {
    "h": 75,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.93726,
    "c": 0.12337,
    "h": 120.3
  },
  "luminance": 0.84444
}

Semantic roles & 50–950 ramp

primary
#DFF797
secondary
#7B5CD6
accent
#03E23B
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFF797

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

Preview Lab → · Contrast checker → · Palette generator →

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