#DFFA78#DFFA78

#DFFA78 is a very light, vivid yellow-green. Relative luminance 0.854; OKLCH L 93.9% C 0.158 H 119.3°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#DFFA78
RGBrgb(223, 250, 120)
HSLhsl(72, 93%, 73%)
HSVhsv(72, 52%, 98%)
CMYKcmyk(10.8%, 0%, 52%, 2%)
CIE-LABlab(94.06, -27.20, 58.66)
CIE-LCHlch(94.06, 64.66, 114.87°)
OKLaboklab(93.94% -0.0775 0.1382)
OKLCHoklch(93.94% 0.158 119.3)
XYZxyz(68.0079, 85.4156, 30.6698)
Luminance0.8541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFFA78 #9378FA
analogous
#FAD478 #DFFA78 #9EFA78
triadic
#DFFA78 #78DFFA #FA78DF
tetradic
#DFFA78 #78FAD4 #9378FA #FA789E
square
#DFFA78 #78FAD4 #9378FA #FA789E
split-complementary
#DFFA78 #789EFA #D478FA
monochromatic
#BFEF09 #D1F83D #DFFA78 #EDFCB3 #F8FEE1

Accessibility & contrast

On white

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

On black

18.08
#DFFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFFA78
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFFA78#FFFFFF#000000##000000
##DFFA781.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFEE80
Tritanopia (blue-blind)
#EAEFDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dffa78;
/* rgb */ color: rgb(223, 250, 120);
/* oklch */ color: oklch(93.9% 0.158 119.3);
Tailwind
colors: {
  custom: {
    50: '#ebfca2',
    500: '#dffa78',
    950: '#000000',
  },
}
SCSS
$custom: #dffa78;
$custom-light: #ebfca2;
$custom-dark: #000000;
JSON
{
  "hex": "#dffa78",
  "rgb": {
    "r": 223,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 72.462,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93939,
    "c": 0.15842,
    "h": 119.3
  },
  "luminance": 0.85415
}

Semantic roles & 50–950 ramp

primary
#DFFA78
secondary
#5F40D6
accent
#00E630
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DFFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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