#DFF978#DFF978

#DFF978 is a very light, vivid yellow-green. Relative luminance 0.848; OKLCH L 93.7% C 0.157 H 119.0°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#DFF978
RGBrgb(223, 249, 120)
HSLhsl(72, 91%, 72%)
HSVhsv(72, 52%, 98%)
CMYKcmyk(10.4%, 0%, 51.8%, 2.4%)
CIE-LABlab(93.80, -26.73, 58.35)
CIE-LCHlch(93.80, 64.18, 114.61°)
OKLaboklab(93.73% -0.0762 0.1375)
OKLCHoklch(93.73% 0.157 119)
XYZxyz(67.6980, 84.7958, 30.5665)
Luminance0.8479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFF978 #9278F9
analogous
#F9D278 #DFF978 #9FF978
triadic
#DFF978 #78DFF9 #F978DF
tetradic
#DFF978 #78F9D2 #9278F9 #F9789F
square
#DFF978 #78F9D2 #9278F9 #F9789F
split-complementary
#DFF978 #789FF9 #D278F9
monochromatic
#BFEC0A #D1F63D #DFF978 #EDFCB3 #F8FEE2

Accessibility & contrast

On white

1.17
#DFF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#DFF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFF978
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFF978#FFFFFF#000000##000000
##DFF9781.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFEE7F
Tritanopia (blue-blind)
#EAEEDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dff978;
/* rgb */ color: rgb(223, 249, 120);
/* oklch */ color: oklch(93.7% 0.157 119.0);
Tailwind
colors: {
  custom: {
    50: '#ebfba2',
    500: '#dff978',
    950: '#000000',
  },
}
SCSS
$custom: #dff978;
$custom-light: #ebfba2;
$custom-dark: #000000;
JSON
{
  "hex": "#dff978",
  "rgb": {
    "r": 223,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 72.093,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93725,
    "c": 0.15718,
    "h": 119
  },
  "luminance": 0.84795
}

Semantic roles & 50–950 ramp

primary
#DFF978
secondary
#5E40D5
accent
#00E62E
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFF978

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

Preview Lab → · Contrast checker → · Palette generator →

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