#DCFA7F#DCFA7F

#DCFA7F is a very light, vivid yellow-green. Relative luminance 0.851; OKLCH L 93.8% C 0.153 H 120.7°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#DCFA7F
RGBrgb(220, 250, 127)
HSLhsl(75, 92%, 74%)
HSVhsv(75, 49%, 98%)
CMYKcmyk(12%, 0%, 49.2%, 2%)
CIE-LABlab(93.93, -27.69, 55.27)
CIE-LCHlch(93.93, 61.82, 116.61°)
OKLaboklab(93.81% -0.0781 0.1314)
OKLCHoklch(93.81% 0.153 120.7)
XYZxyz(67.5320, 85.1193, 32.9465)
Luminance0.8512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA7F #9D7FFA
analogous
#FADB7F #DCFA7F #9FFA7F
triadic
#DCFA7F #7FDCFA #FA7FDC
tetradic
#DCFA7F #7FFADB #9D7FFA #FA7F9F
square
#DCFA7F #7FFADB #9D7FFA #FA7F9F
split-complementary
#DCFA7F #7F9FFA #DB7FFA
monochromatic
#BCF50A #CCF844 #DCFA7F #ECFCBA #F7FEE2

Accessibility & contrast

On white

1.17
#DCFA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#DCFA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFA7F
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFA7F#FFFFFF#000000##000000
##DCFA7F1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE74
Deuteranopia (green-blind)
#FFEE86
Tritanopia (blue-blind)
#E5EFDE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #dcfa7f;
/* rgb */ color: rgb(220, 250, 127);
/* oklch */ color: oklch(93.8% 0.153 120.7);
Tailwind
colors: {
  custom: {
    50: '#e9fca7',
    500: '#dcfa7f',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa7f;
$custom-light: #e9fca7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa7f",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 127
  },
  "hsl": {
    "h": 74.634,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.9381,
    "c": 0.15287,
    "h": 120.7
  },
  "luminance": 0.85119
}

Semantic roles & 50–950 ramp

primary
#DCFA7F
secondary
#6946D7
accent
#00E638
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#161710
muted
#858580

Preview Lab

Preview with #DCFA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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