#DFFA98#DFFA98

#DFFA98 is a very light, vivid yellow-green. Relative luminance 0.863; OKLCH L 94.4% C 0.126 H 121.4°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#DFFA98
RGBrgb(223, 250, 152)
HSLhsl(77, 91%, 79%)
HSVhsv(77, 39%, 98%)
CMYKcmyk(10.8%, 0%, 39.2%, 2%)
CIE-LABlab(94.45, -23.94, 44.09)
CIE-LCHlch(94.45, 50.17, 118.50°)
OKLaboklab(94.38% -0.0659 0.1078)
OKLCHoklch(94.38% 0.126 121.4)
XYZxyz(70.2844, 86.3262, 42.6596)
Luminance0.8633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFA98 #B398FA
analogous
#FAE498 #DFFA98 #AEFA98
triadic
#DFFA98 #98DFFA #FA98DF
tetradic
#DFFA98 #98FAE4 #B398FA #FA98AE
square
#DFFA98 #98FAE4 #B398FA #FA98AE
split-complementary
#DFFA98 #98AEFA #E498FA
monochromatic
#BBF423 #CDF75E #DFFA98 #F1FDD2 #F6FEE2

Accessibility & contrast

On white

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

On black

18.27
#DFFA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFA98
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFA98#FFFFFF#000000##000000
##DFFA981.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dffa98;
/* rgb */ color: rgb(223, 250, 152);
/* oklch */ color: oklch(94.4% 0.126 121.4);
Tailwind
colors: {
  custom: {
    50: '#eafcb7',
    500: '#dffa98',
    950: '#000000',
  },
}
SCSS
$custom: #dffa98;
$custom-light: #eafcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dffa98",
  "rgb": {
    "r": 223,
    "g": 250,
    "b": 152
  },
  "hsl": {
    "h": 76.531,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94378,
    "c": 0.12635,
    "h": 121.4
  },
  "luminance": 0.86326
}

Semantic roles & 50–950 ramp

primary
#DFFA98
secondary
#7F5CDB
accent
#00E63F
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFA98

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

Preview Lab → · Contrast checker → · Palette generator →

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