#DCF878#DCF878

#DCF878 is a very light, vivid yellow-green. Relative luminance 0.837; OKLCH L 93.3% C 0.157 H 119.8°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#DCF878
RGBrgb(220, 248, 120)
HSLhsl(73, 90%, 72%)
HSVhsv(73, 52%, 97%)
CMYKcmyk(11.3%, 0%, 51.6%, 2.7%)
CIE-LABlab(93.32, -27.40, 57.74)
CIE-LCHlch(93.32, 63.91, 115.39°)
OKLaboklab(93.29% -0.0779 0.1362)
OKLCHoklch(93.29% 0.157 119.8)
XYZxyz(66.4734, 83.7068, 30.4208)
Luminance0.8371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF878 #9478F8
analogous
#F8D478 #DCF878 #9CF878
triadic
#DCF878 #78DCF8 #F878DC
tetradic
#DCF878 #78F8D4 #9478F8 #F8789C
square
#DCF878 #78F8D4 #9478F8 #F8789C
split-complementary
#DCF878 #789CF8 #D478F8
monochromatic
#B9E90C #CDF53E #DCF878 #EBFBB2 #F7FDE2

Accessibility & contrast

On white

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

On black

17.74
#DCF878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF878
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF878#FFFFFF#000000##000000
##DCF8781.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#E6EDDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dcf878;
/* rgb */ color: rgb(220, 248, 120);
/* oklch */ color: oklch(93.3% 0.157 119.8);
Tailwind
colors: {
  custom: {
    50: '#e9faa2',
    500: '#dcf878',
    950: '#000000',
  },
}
SCSS
$custom: #dcf878;
$custom-light: #e9faa2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf878",
  "rgb": {
    "r": 220,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 73.125,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93294,
    "c": 0.15691,
    "h": 119.8
  },
  "luminance": 0.83707
}

Semantic roles & 50–950 ramp

primary
#DCF878
secondary
#6140D4
accent
#00E632
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF878

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

Preview Lab → · Contrast checker → · Palette generator →

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