#DCF178#DCF178

#DCF178 is a very light, vivid yellow-green. Relative luminance 0.795; OKLCH L 91.8% C 0.148 H 117.6°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#DCF178
RGBrgb(220, 241, 120)
HSLhsl(70, 81%, 71%)
HSVhsv(70, 50%, 95%)
CMYKcmyk(8.7%, 0%, 50.2%, 5.5%)
CIE-LABlab(91.45, -24.09, 55.53)
CIE-LCHlch(91.45, 60.53, 113.45°)
OKLaboklab(91.8% -0.0686 0.1314)
OKLCHoklch(91.8% 0.148 117.6)
XYZxyz(64.3614, 79.4828, 29.7168)
Luminance0.7948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF178 #8D78F1
analogous
#F1C978 #DCF178 #9FF178
triadic
#DCF178 #78DCF1 #F178DC
tetradic
#DCF178 #78F1C9 #8D78F1 #F1789F
square
#DCF178 #78F1C9 #8D78F1 #F1789F
split-complementary
#DCF178 #789FF1 #C978F1
monochromatic
#B7D816 #CEEB41 #DCF178 #EAF7AF #F8FCE3

Accessibility & contrast

On white

1.24
#DCF178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#DCF178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF178
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF178#FFFFFF#000000##000000
##DCF1781.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66D
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#E7E6D5
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf178;
/* rgb */ color: rgb(220, 241, 120);
/* oklch */ color: oklch(91.8% 0.148 117.6);
Tailwind
colors: {
  custom: {
    50: '#e9f5a2',
    500: '#dcf178',
    950: '#000000',
  },
}
SCSS
$custom: #dcf178;
$custom-light: #e9f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf178",
  "rgb": {
    "r": 220,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 70.413,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91795,
    "c": 0.14822,
    "h": 117.6
  },
  "luminance": 0.79482
}

Semantic roles & 50–950 ramp

primary
#DCF178
secondary
#5A42CB
accent
#08DE2D
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF178

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

Preview Lab → · Contrast checker → · Palette generator →

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