#DFF997#DFF997

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

Color values

HEX#DFF997
RGBrgb(223, 249, 151)
HSLhsl(76, 89%, 78%)
HSVhsv(76, 39%, 98%)
CMYKcmyk(10.4%, 0%, 39.4%, 2.4%)
CIE-LABlab(94.17, -23.58, 44.22)
CIE-LCHlch(94.17, 50.11, 118.07°)
OKLaboklab(94.15% -0.0649 0.1081)
OKLCHoklch(94.15% 0.126 121)
XYZxyz(69.8930, 85.6738, 42.1268)
Luminance0.8567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF997 #B197F9
analogous
#F9E297 #DFF997 #AEF997
triadic
#DFF997 #97DFF9 #F997DF
tetradic
#DFF997 #97F9E2 #B197F9 #F997AE
square
#DFF997 #97F9E2 #B197F9 #F997AE
split-complementary
#DFF997 #97AEF9 #E297F9
monochromatic
#BBF223 #CDF65D #DFF997 #F1FCD1 #F6FDE2

Accessibility & contrast

On white

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

On black

18.13
#DFF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF997
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF997#FFFFFF#000000##000000
##DFF9971.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dff997;
/* rgb */ color: rgb(223, 249, 151);
/* oklch */ color: oklch(94.2% 0.126 121.0);
Tailwind
colors: {
  custom: {
    50: '#eafbb7',
    500: '#dff997',
    950: '#000000',
  },
}
SCSS
$custom: #dff997;
$custom-light: #eafbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#dff997",
  "rgb": {
    "r": 223,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 75.918,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.9415,
    "c": 0.12607,
    "h": 121
  },
  "luminance": 0.85674
}

Semantic roles & 50–950 ramp

primary
#DFF997
secondary
#7D5BD9
accent
#00E63D
background
#FEFFFD
surface
#FDFFF8
border
#D5D7D1
text
#161711
muted
#848581

Preview Lab

Preview with #DFF997

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

Preview Lab → · Contrast checker → · Palette generator →

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