#DCF378#DCF378

#DCF378 is a very light, vivid yellow-green. Relative luminance 0.807; OKLCH L 92.2% C 0.151 H 118.2°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#DCF378
RGBrgb(220, 243, 120)
HSLhsl(71, 84%, 71%)
HSVhsv(71, 51%, 95%)
CMYKcmyk(9.5%, 0%, 50.6%, 4.7%)
CIE-LABlab(91.99, -25.04, 56.16)
CIE-LCHlch(91.99, 61.49, 114.03°)
OKLaboklab(92.22% -0.0713 0.1328)
OKLCHoklch(92.22% 0.151 118.2)
XYZxyz(64.9567, 80.6734, 29.9152)
Luminance0.8067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF378 #8F78F3
analogous
#F3CD78 #DCF378 #9EF378
triadic
#DCF378 #78DCF3 #F378DC
tetradic
#DCF378 #78F3CD #8F78F3 #F3789E
square
#DCF378 #78F3CD #8F78F3 #F3789E
split-complementary
#DCF378 #789EF3 #CD78F3
monochromatic
#B7DD14 #CDEE40 #DCF378 #EBF8B0 #F8FDE3

Accessibility & contrast

On white

1.23
#DCF378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.13
#DCF378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF378
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF378#FFFFFF#000000##000000
##DCF3781.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#E7E8D7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dcf378;
/* rgb */ color: rgb(220, 243, 120);
/* oklch */ color: oklch(92.2% 0.151 118.2);
Tailwind
colors: {
  custom: {
    50: '#e9f7a2',
    500: '#dcf378',
    950: '#000000',
  },
}
SCSS
$custom: #dcf378;
$custom-light: #e9f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf378",
  "rgb": {
    "r": 220,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 71.22,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92223,
    "c": 0.15069,
    "h": 118.2
  },
  "luminance": 0.80673
}

Semantic roles & 50–950 ramp

primary
#DCF378
secondary
#5C42CE
accent
#05E02E
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF378

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

Preview Lab → · Contrast checker → · Palette generator →

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