#DCF278#DCF278

#DCF278 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 92.0% C 0.149 H 117.9°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#DCF278
RGBrgb(220, 242, 120)
HSLhsl(71, 82%, 71%)
HSVhsv(71, 50%, 95%)
CMYKcmyk(9.1%, 0%, 50.4%, 5.1%)
CIE-LABlab(91.72, -24.56, 55.85)
CIE-LCHlch(91.72, 61.01, 113.74°)
OKLaboklab(92.01% -0.0699 0.1321)
OKLCHoklch(92.01% 0.149 117.9)
XYZxyz(64.6582, 80.0765, 29.8157)
Luminance0.8008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF278 #8E78F2
analogous
#F2CB78 #DCF278 #9FF278
triadic
#DCF278 #78DCF2 #F278DC
tetradic
#DCF278 #78F2CB #8E78F2 #F2789F
square
#DCF278 #78F2CB #8E78F2 #F2789F
split-complementary
#DCF278 #789FF2 #CB78F2
monochromatic
#B7DB15 #CEED40 #DCF278 #EAF7B0 #F8FCE3

Accessibility & contrast

On white

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

On black

17.02
#DCF278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF278
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF278#FFFFFF#000000##000000
##DCF2781.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FDE87F
Tritanopia (blue-blind)
#E7E7D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #dcf278;
/* rgb */ color: rgb(220, 242, 120);
/* oklch */ color: oklch(92.0% 0.149 117.9);
Tailwind
colors: {
  custom: {
    50: '#e9f6a2',
    500: '#dcf278',
    950: '#000000',
  },
}
SCSS
$custom: #dcf278;
$custom-light: #e9f6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf278",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 70.82,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92009,
    "c": 0.14946,
    "h": 117.9
  },
  "luminance": 0.80076
}

Semantic roles & 50–950 ramp

primary
#DCF278
secondary
#5B42CC
accent
#07DF2E
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF278

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

Preview Lab → · Contrast checker → · Palette generator →

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