#DCF478#DCF478

#DCF478 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.4% C 0.152 H 118.5°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#DCF478
RGBrgb(220, 244, 120)
HSLhsl(72, 85%, 71%)
HSVhsv(72, 51%, 96%)
CMYKcmyk(9.8%, 0%, 50.8%, 4.3%)
CIE-LABlab(92.25, -25.51, 56.48)
CIE-LCHlch(92.25, 61.98, 114.31°)
OKLaboklab(92.44% -0.0726 0.1335)
OKLCHoklch(92.44% 0.152 118.5)
XYZxyz(65.2567, 81.2735, 30.0152)
Luminance0.8127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF478 #9078F4
analogous
#F4CE78 #DCF478 #9EF478
triadic
#DCF478 #78DCF4 #F478DC
tetradic
#DCF478 #78F4CE #9078F4 #F4789E
square
#DCF478 #78F4CE #9078F4 #F4789E
split-complementary
#DCF478 #789EF4 #CE78F4
monochromatic
#B8DF12 #CDEF3F #DCF478 #EBF9B1 #F8FDE3

Accessibility & contrast

On white

1.22
#DCF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#DCF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF478
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF478#FFFFFF#000000##000000
##DCF4781.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#FFE97F
Tritanopia (blue-blind)
#E7E9D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #dcf478;
/* rgb */ color: rgb(220, 244, 120);
/* oklch */ color: oklch(92.4% 0.152 118.5);
Tailwind
colors: {
  custom: {
    50: '#e9f7a2',
    500: '#dcf478',
    950: '#000000',
  },
}
SCSS
$custom: #dcf478;
$custom-light: #e9f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf478",
  "rgb": {
    "r": 220,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 71.613,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92437,
    "c": 0.15193,
    "h": 118.5
  },
  "luminance": 0.81273
}

Semantic roles & 50–950 ramp

primary
#DCF478
secondary
#5D41CF
accent
#04E12F
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF478

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

Preview Lab → · Contrast checker → · Palette generator →

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