#DCF08C#DCF08C

#DCF08C is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.9% C 0.127 H 118.2°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#DCF08C
RGBrgb(220, 240, 140)
HSLhsl(72, 77%, 75%)
HSVhsv(72, 42%, 94%)
CMYKcmyk(8.3%, 0%, 41.7%, 5.9%)
CIE-LABlab(91.43, -21.61, 46.05)
CIE-LCHlch(91.43, 50.87, 115.15°)
OKLaboklab(91.85% -0.06 0.1117)
OKLCHoklch(91.85% 0.127 118.2)
XYZxyz(65.4092, 79.4297, 36.6915)
Luminance0.7943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF08C #A08CF0
analogous
#F0D28C #DCF08C #AAF08C
triadic
#DCF08C #8CDCF0 #F08CDC
tetradic
#DCF08C #8CF0D2 #A08CF0 #F08CAA
square
#DCF08C #8CF0D2 #A08CF0 #F08CAA
split-complementary
#DCF08C #8CAAF0 #D28CF0
monochromatic
#BBE220 #CCE956 #DCF08C #ECF7C2 #F7FBE4

Accessibility & contrast

On white

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

On black

16.89
#DCF08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF08C
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF08C#FFFFFF#000000##000000
##DCF08C1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE684
Deuteranopia (green-blind)
#FAE791
Tritanopia (blue-blind)
#E5E6D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #dcf08c;
/* rgb */ color: rgb(220, 240, 140);
/* oklch */ color: oklch(91.9% 0.127 118.2);
Tailwind
colors: {
  custom: {
    50: '#e8f5af',
    500: '#dcf08c',
    950: '#000000',
  },
}
SCSS
$custom: #dcf08c;
$custom-light: #e8f5af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf08c",
  "rgb": {
    "r": 220,
    "g": 240,
    "b": 140
  },
  "hsl": {
    "h": 72,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.91854,
    "c": 0.12678,
    "h": 118.2
  },
  "luminance": 0.79429
}

Semantic roles & 50–950 ramp

primary
#DCF08C
secondary
#6C54CC
accent
#0CD935
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DCF08C

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

Preview Lab → · Contrast checker → · Palette generator →

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