#DCFA78#DCFA78

#DCFA78 is a very light, vivid yellow-green. Relative luminance 0.849; OKLCH L 93.7% C 0.159 H 120.4°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#DCFA78
RGBrgb(220, 250, 120)
HSLhsl(74, 93%, 73%)
HSVhsv(74, 52%, 98%)
CMYKcmyk(12%, 0%, 52%, 2%)
CIE-LABlab(93.86, -28.34, 58.37)
CIE-LCHlch(93.86, 64.88, 115.90°)
OKLaboklab(93.72% -0.0806 0.1376)
OKLCHoklch(93.72% 0.159 120.4)
XYZxyz(67.0915, 84.9431, 30.6268)
Luminance0.8494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA78 #9678FA
analogous
#FAD778 #DCFA78 #9BFA78
triadic
#DCFA78 #78DCFA #FA78DC
tetradic
#DCFA78 #78FAD7 #9678FA #FA789B
square
#DCFA78 #78FAD7 #9678FA #FA789B
split-complementary
#DCFA78 #789BFA #D778FA
monochromatic
#BAEF09 #CDF83D #DCFA78 #EBFCB3 #F7FEE1

Accessibility & contrast

On white

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

On black

17.99
#DCFA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFA78
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFA78#FFFFFF#000000##000000
##DCFA781.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcfa78;
/* rgb */ color: rgb(220, 250, 120);
/* oklch */ color: oklch(93.7% 0.159 120.4);
Tailwind
colors: {
  custom: {
    50: '#e9fca2',
    500: '#dcfa78',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa78;
$custom-light: #e9fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa78",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 73.846,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93724,
    "c": 0.15942,
    "h": 120.4
  },
  "luminance": 0.84943
}

Semantic roles & 50–950 ramp

primary
#DCFA78
secondary
#6340D6
accent
#00E635
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFA78

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

Preview Lab → · Contrast checker → · Palette generator →

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