#DFF798#DFF798

#DFF798 is a very light, vivid yellow-green. Relative luminance 0.845; OKLCH L 93.7% C 0.122 H 120.4°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#DFF798
RGBrgb(223, 247, 152)
HSLhsl(75, 86%, 78%)
HSVhsv(75, 38%, 97%)
CMYKcmyk(9.7%, 0%, 38.5%, 3.1%)
CIE-LABlab(93.66, -22.51, 43.07)
CIE-LCHlch(93.66, 48.60, 117.59°)
OKLaboklab(93.74% -0.0618 0.1055)
OKLCHoklch(93.74% 0.122 120.4)
XYZxyz(69.3597, 84.4767, 42.3513)
Luminance0.8448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF798 #B098F7
analogous
#F7DF98 #DFF798 #AFF798
triadic
#DFF798 #98DFF7 #F798DF
tetradic
#DFF798 #98F7DF #B098F7 #F798AF
square
#DFF798 #98F7DF #B098F7 #F798AF
split-complementary
#DFF798 #98AFF7 #DF98F7
monochromatic
#BCEE26 #CDF35F #DFF798 #F1FBD1 #F6FDE3

Accessibility & contrast

On white

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

On black

17.90
#DFF798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF798
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF798#FFFFFF#000000##000000
##DFF7981.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED91
Deuteranopia (green-blind)
#FFED9D
Tritanopia (blue-blind)
#E7EEE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dff798;
/* rgb */ color: rgb(223, 247, 152);
/* oklch */ color: oklch(93.7% 0.122 120.4);
Tailwind
colors: {
  custom: {
    50: '#eaf9b7',
    500: '#dff798',
    950: '#000000',
  },
}
SCSS
$custom: #dff798;
$custom-light: #eaf9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dff798",
  "rgb": {
    "r": 223,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 75.158,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93742,
    "c": 0.12227,
    "h": 120.4
  },
  "luminance": 0.84477
}

Semantic roles & 50–950 ramp

primary
#DFF798
secondary
#7C5DD6
accent
#03E23C
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFF798

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

Preview Lab → · Contrast checker → · Palette generator →

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