#DFFB98#DFFB98

#DFFB98 is a very light, vivid yellow-green. Relative luminance 0.869; OKLCH L 94.6% C 0.128 H 121.8°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#DFFB98
RGBrgb(223, 251, 152)
HSLhsl(77, 93%, 79%)
HSVhsv(77, 39%, 98%)
CMYKcmyk(11.2%, 0%, 39.4%, 1.6%)
CIE-LABlab(94.72, -24.42, 44.43)
CIE-LCHlch(94.72, 50.69, 118.79°)
OKLaboklab(94.59% -0.0672 0.1086)
OKLCHoklch(94.59% 0.128 121.8)
XYZxyz(70.5960, 86.9493, 42.7634)
Luminance0.8695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFB98 #B498FB
analogous
#FBE698 #DFFB98 #AEFB98
triadic
#DFFB98 #98DFFB #FB98DF
tetradic
#DFFB98 #98FBE6 #B498FB #FB98AE
square
#DFFB98 #98FBE6 #B498FB #FB98AE
split-complementary
#DFFB98 #98AEFB #E698FB
monochromatic
#BAF622 #CDF95D #DFFB98 #F1FDD3 #F6FEE2

Accessibility & contrast

On white

1.14
#DFFB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.39
#DFFB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFB98
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFB98#FFFFFF#000000##000000
##DFFB981.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF091
Deuteranopia (green-blind)
#FFF09D
Tritanopia (blue-blind)
#E7F2E3
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #dffb98;
/* rgb */ color: rgb(223, 251, 152);
/* oklch */ color: oklch(94.6% 0.128 121.8);
Tailwind
colors: {
  custom: {
    50: '#eafcb7',
    500: '#dffb98',
    950: '#000000',
  },
}
SCSS
$custom: #dffb98;
$custom-light: #eafcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dffb98",
  "rgb": {
    "r": 223,
    "g": 251,
    "b": 152
  },
  "hsl": {
    "h": 76.97,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.9459,
    "c": 0.12771,
    "h": 121.8
  },
  "luminance": 0.86949
}

Semantic roles & 50–950 ramp

primary
#DFFB98
secondary
#805BDC
accent
#00E641
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFFB98

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

Preview Lab → · Contrast checker → · Palette generator →

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