#DCF56C#DCF56C

#DCF56C is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.5% C 0.164 H 118.4°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#DCF56C
RGBrgb(220, 245, 108)
HSLhsl(71, 87%, 69%)
HSVhsv(71, 56%, 96%)
CMYKcmyk(10.2%, 0%, 55.9%, 3.9%)
CIE-LABlab(92.40, -27.01, 62.00)
CIE-LCHlch(92.40, 67.62, 113.54°)
OKLaboklab(92.52% -0.0779 0.1442)
OKLCHoklch(92.52% 0.164 118.4)
XYZxyz(64.8753, 81.6036, 26.5179)
Luminance0.8160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF56C #856CF5
analogous
#F5CA6C #DCF56C #98F56C
triadic
#DCF56C #6CDCF5 #F56CDC
tetradic
#DCF56C #6CF5CA #856CF5 #F56C98
square
#DCF56C #6CF5CA #856CF5 #F56C98
split-complementary
#DCF56C #6C98F5 #CA6CF5
monochromatic
#B3D80F #CEF133 #DCF56C #EAF9A5 #F7FDDF

Accessibility & contrast

On white

1.21
#DCF56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#DCF56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF56C
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF56C#FFFFFF#000000##000000
##DCF56C1.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE95E
Deuteranopia (green-blind)
#FFEA74
Tritanopia (blue-blind)
#E7E9D7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #dcf56c;
/* rgb */ color: rgb(220, 245, 108);
/* oklch */ color: oklch(92.5% 0.164 118.4);
Tailwind
colors: {
  custom: {
    50: '#e9f89a',
    500: '#dcf56c',
    950: '#000000',
  },
}
SCSS
$custom: #dcf56c;
$custom-light: #e9f89a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf56c",
  "rgb": {
    "r": 220,
    "g": 245,
    "b": 108
  },
  "hsl": {
    "h": 70.949,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92515,
    "c": 0.16393,
    "h": 118.4
  },
  "luminance": 0.81603
}

Semantic roles & 50–950 ramp

primary
#DCF56C
secondary
#5237CF
accent
#02E42B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DCF56C

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

Preview Lab → · Contrast checker → · Palette generator →

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