#DCF978#DCF978

#DCF978 is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.5% C 0.158 H 120.1°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#DCF978
RGBrgb(220, 249, 120)
HSLhsl(73, 91%, 72%)
HSVhsv(73, 52%, 98%)
CMYKcmyk(11.6%, 0%, 51.8%, 2.4%)
CIE-LABlab(93.59, -27.87, 58.05)
CIE-LCHlch(93.59, 64.40, 115.64°)
OKLaboklab(93.51% -0.0792 0.1369)
OKLCHoklch(93.51% 0.158 120.1)
XYZxyz(66.7816, 84.3233, 30.5235)
Luminance0.8432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF978 #9578F9
analogous
#F9D578 #DCF978 #9CF978
triadic
#DCF978 #78DCF9 #F978DC
tetradic
#DCF978 #78F9D5 #9578F9 #F9789C
square
#DCF978 #78F9D5 #9578F9 #F9789C
split-complementary
#DCF978 #789CF9 #D578F9
monochromatic
#B9EC0A #CDF63D #DCF978 #EBFCB3 #F7FEE2

Accessibility & contrast

On white

1.18
#DCF978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#DCF978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF978
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF978#FFFFFF#000000##000000
##DCF9781.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcf978;
/* rgb */ color: rgb(220, 249, 120);
/* oklch */ color: oklch(93.5% 0.158 120.1);
Tailwind
colors: {
  custom: {
    50: '#e9fba2',
    500: '#dcf978',
    950: '#000000',
  },
}
SCSS
$custom: #dcf978;
$custom-light: #e9fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf978",
  "rgb": {
    "r": 220,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 73.488,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93509,
    "c": 0.15817,
    "h": 120.1
  },
  "luminance": 0.84323
}

Semantic roles & 50–950 ramp

primary
#DCF978
secondary
#6240D5
accent
#00E634
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF978

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

Preview Lab → · Contrast checker → · Palette generator →

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