#DFFC98#DFFC98

#DFFC98 is a very light, vivid yellow-green. Relative luminance 0.876; OKLCH L 94.8% C 0.129 H 122.1°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#DFFC98
RGBrgb(223, 252, 152)
HSLhsl(77, 94%, 79%)
HSVhsv(77, 40%, 99%)
CMYKcmyk(11.5%, 0%, 39.7%, 1.2%)
CIE-LABlab(94.98, -24.89, 44.76)
CIE-LCHlch(94.98, 51.22, 119.08°)
OKLaboklab(94.8% -0.0686 0.1094)
OKLCHoklch(94.8% 0.129 122.1)
XYZxyz(70.9092, 87.5757, 42.8678)
Luminance0.8758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFC98 #B598FC
analogous
#FCE798 #DFFC98 #ADFC98
triadic
#DFFC98 #98DFFC #FC98DF
tetradic
#DFFC98 #98FCE7 #B598FC #FC98AD
square
#DFFC98 #98FCE7 #B598FC #FC98AD
split-complementary
#DFFC98 #98ADFC #E798FC
monochromatic
#BAF921 #CDFA5D #DFFC98 #F1FED3 #F6FEE1

Accessibility & contrast

On white

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

On black

18.52
#DFFC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFC98
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFC98#FFFFFF#000000##000000
##DFFC981.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dffc98;
/* rgb */ color: rgb(223, 252, 152);
/* oklch */ color: oklch(94.8% 0.129 122.1);
Tailwind
colors: {
  custom: {
    50: '#eafdb7',
    500: '#dffc98',
    950: '#000000',
  },
}
SCSS
$custom: #dffc98;
$custom-light: #eafdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dffc98",
  "rgb": {
    "r": 223,
    "g": 252,
    "b": 152
  },
  "hsl": {
    "h": 77.4,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.94802,
    "c": 0.12907,
    "h": 122.1
  },
  "luminance": 0.87576
}

Semantic roles & 50–950 ramp

primary
#DFFC98
secondary
#815BDD
accent
#00E643
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFC98

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

Preview Lab → · Contrast checker → · Palette generator →

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