#DFF998#DFF998

#DFF998 is a very light, vivid yellow-green. Relative luminance 0.857; OKLCH L 94.2% C 0.125 H 121.1°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#DFF998
RGBrgb(223, 249, 152)
HSLhsl(76, 89%, 79%)
HSVhsv(76, 39%, 98%)
CMYKcmyk(10.4%, 0%, 39%, 2.4%)
CIE-LABlab(94.19, -23.46, 43.75)
CIE-LCHlch(94.19, 49.64, 118.21°)
OKLaboklab(94.17% -0.0645 0.107)
OKLCHoklch(94.17% 0.125 121.1)
XYZxyz(69.9745, 85.7064, 42.5563)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF998 #B298F9
analogous
#F9E298 #DFF998 #AEF998
triadic
#DFF998 #98DFF9 #F998DF
tetradic
#DFF998 #98F9E2 #B298F9 #F998AE
square
#DFF998 #98F9E2 #B298F9 #F998AE
split-complementary
#DFF998 #98AEF9 #E298F9
monochromatic
#BBF224 #CDF65E #DFF998 #F1FCD2 #F6FDE2

Accessibility & contrast

On white

1.16
#DFF998 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#DFF998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF998
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF998#FFFFFF#000000##000000
##DFF9981.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF91
Deuteranopia (green-blind)
#FFEE9D
Tritanopia (blue-blind)
#E7F0E1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dff998;
/* rgb */ color: rgb(223, 249, 152);
/* oklch */ color: oklch(94.2% 0.125 121.1);
Tailwind
colors: {
  custom: {
    50: '#eafbb7',
    500: '#dff998',
    950: '#000000',
  },
}
SCSS
$custom: #dff998;
$custom-light: #eafbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dff998",
  "rgb": {
    "r": 223,
    "g": 249,
    "b": 152
  },
  "hsl": {
    "h": 76.082,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94166,
    "c": 0.12499,
    "h": 121.1
  },
  "luminance": 0.85706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFF998

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

Preview Lab → · Contrast checker → · Palette generator →

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