#DFFD98#DFFD98

#DFFD98 is a very light, vivid yellow-green. Relative luminance 0.882; OKLCH L 95.0% C 0.130 H 122.4°. Best body text is #000000 at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#DFFD98
RGBrgb(223, 253, 152)
HSLhsl(78, 96%, 79%)
HSVhsv(78, 40%, 99%)
CMYKcmyk(11.9%, 0%, 39.9%, 0.8%)
CIE-LABlab(95.25, -25.36, 45.10)
CIE-LCHlch(95.25, 51.74, 119.35°)
OKLaboklab(95.01% -0.0699 0.1101)
OKLCHoklch(95.01% 0.13 122.4)
XYZxyz(71.2241, 88.2054, 42.9728)
Luminance0.8821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFD98 #B698FD
analogous
#FDE998 #DFFD98 #ADFD98
triadic
#DFFD98 #98DFFD #FD98DF
tetradic
#DFFD98 #98FDE9 #B698FD #FD98AD
square
#DFFD98 #98FDE9 #B698FD #FD98AD
split-complementary
#DFFD98 #98ADFD #E998FD
monochromatic
#BAFB20 #CCFC5C #DFFD98 #F2FED4 #F6FEE1

Accessibility & contrast

On white

1.13
#DFFD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.64
#DFFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFD98
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFD98#FFFFFF#000000##000000
##DFFD981.001.1318.6418.64
#FFFFFF1.131.0021.0021.00
#00000018.6421.001.001.00
##00000018.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF290
Deuteranopia (green-blind)
#FFF19D
Tritanopia (blue-blind)
#E6F4E4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #dffd98;
/* rgb */ color: rgb(223, 253, 152);
/* oklch */ color: oklch(95.0% 0.130 122.4);
Tailwind
colors: {
  custom: {
    50: '#eafeb7',
    500: '#dffd98',
    950: '#000000',
  },
}
SCSS
$custom: #dffd98;
$custom-light: #eafeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dffd98",
  "rgb": {
    "r": 223,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 77.822,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95014,
    "c": 0.13044,
    "h": 122.4
  },
  "luminance": 0.88206
}

Semantic roles & 50–950 ramp

primary
#DFFD98
secondary
#825ADF
accent
#00E644
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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