#DCF078#DCF078

#DCF078 is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.6% C 0.147 H 117.2°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#DCF078
RGBrgb(220, 240, 120)
HSLhsl(70, 80%, 71%)
HSVhsv(70, 50%, 94%)
CMYKcmyk(8.3%, 0%, 50%, 5.9%)
CIE-LABlab(91.19, -23.61, 55.22)
CIE-LCHlch(91.19, 60.05, 113.15°)
OKLaboklab(91.58% -0.0672 0.1307)
OKLCHoklch(91.58% 0.147 117.2)
XYZxyz(64.0662, 78.8925, 29.6184)
Luminance0.7889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF078 #8C78F0
analogous
#F0C878 #DCF078 #A0F078
triadic
#DCF078 #78DCF0 #F078DC
tetradic
#DCF078 #78F0C8 #8C78F0 #F078A0
square
#DCF078 #78F0C8 #8C78F0 #F078A0
split-complementary
#DCF078 #78A0F0 #C878F0
monochromatic
#B6D618 #CEEA41 #DCF078 #EAF6AF #F8FCE3

Accessibility & contrast

On white

1.25
#DCF078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#DCF078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF078
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF078#FFFFFF#000000##000000
##DCF0781.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcf078;
/* rgb */ color: rgb(220, 240, 120);
/* oklch */ color: oklch(91.6% 0.147 117.2);
Tailwind
colors: {
  custom: {
    50: '#e9f4a2',
    500: '#dcf078',
    950: '#000000',
  },
}
SCSS
$custom: #dcf078;
$custom-light: #e9f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf078",
  "rgb": {
    "r": 220,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 70,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91581,
    "c": 0.14699,
    "h": 117.2
  },
  "luminance": 0.78892
}

Semantic roles & 50–950 ramp

primary
#DCF078
secondary
#5942CA
accent
#09DC2C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF078

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

Preview Lab → · Contrast checker → · Palette generator →

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