#DCFC78#DCFC78

#DCFC78 is a very light, vivid yellow-green. Relative luminance 0.862; OKLCH L 94.2% C 0.162 H 120.9°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#DCFC78
RGBrgb(220, 252, 120)
HSLhsl(75, 96%, 73%)
HSVhsv(75, 52%, 99%)
CMYKcmyk(12.7%, 0%, 52.4%, 1.2%)
CIE-LABlab(94.39, -29.27, 59.00)
CIE-LCHlch(94.39, 65.86, 116.39°)
OKLaboklab(94.16% -0.0832 0.1389)
OKLCHoklch(94.16% 0.162 120.9)
XYZxyz(67.7163, 86.1926, 30.8351)
Luminance0.8619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFC78 #9878FC
analogous
#FCDA78 #DCFC78 #9AFC78
triadic
#DCFC78 #78DCFC #FC78DC
tetradic
#DCFC78 #78FCDA #9878FC #FC789A
square
#DCFC78 #78FCDA #9878FC #FC789A
split-complementary
#DCFC78 #789AFC #DA78FC
monochromatic
#BAF405 #CCFB3C #DCFC78 #ECFDB4 #F7FEE1

Accessibility & contrast

On white

1.15
#DCFC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#DCFC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFC78
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFC78#FFFFFF#000000##000000
##DCFC781.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6B
Deuteranopia (green-blind)
#FFEF80
Tritanopia (blue-blind)
#E6F1DE
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #dcfc78;
/* rgb */ color: rgb(220, 252, 120);
/* oklch */ color: oklch(94.2% 0.162 120.9);
Tailwind
colors: {
  custom: {
    50: '#e9fda2',
    500: '#dcfc78',
    950: '#000000',
  },
}
SCSS
$custom: #dcfc78;
$custom-light: #e9fda2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfc78",
  "rgb": {
    "r": 220,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 74.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94155,
    "c": 0.16193,
    "h": 120.9
  },
  "luminance": 0.86193
}

Semantic roles & 50–950 ramp

primary
#DCFC78
secondary
#643FD9
accent
#00E638
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFC78

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

Preview Lab → · Contrast checker → · Palette generator →

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