#DCFA7D#DCFA7D

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

Color values

HEX#DCFA7D
RGBrgb(220, 250, 125)
HSLhsl(74, 93%, 74%)
HSVhsv(74, 50%, 98%)
CMYKcmyk(12%, 0%, 50%, 2%)
CIE-LABlab(93.91, -27.88, 56.16)
CIE-LCHlch(93.91, 62.70, 116.40°)
OKLaboklab(93.79% -0.0788 0.1332)
OKLCHoklch(93.79% 0.155 120.6)
XYZxyz(67.4029, 85.0677, 32.2669)
Luminance0.8507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA7D #9B7DFA
analogous
#FAD97D #DCFA7D #9DFA7D
triadic
#DCFA7D #7DDCFA #FA7DDC
tetradic
#DCFA7D #7DFAD9 #9B7DFA #FA7D9D
square
#DCFA7D #7DFAD9 #9B7DFA #FA7D9D
split-complementary
#DCFA7D #7D9DFA #D97DFA
monochromatic
#BBF309 #CCF842 #DCFA7D #ECFCB8 #F7FEE2

Accessibility & contrast

On white

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

On black

18.01
#DCFA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFA7D
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFA7D#FFFFFF#000000##000000
##DCFA7D1.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE72
Deuteranopia (green-blind)
#FFEE84
Tritanopia (blue-blind)
#E6EFDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcfa7d;
/* rgb */ color: rgb(220, 250, 125);
/* oklch */ color: oklch(93.8% 0.155 120.6);
Tailwind
colors: {
  custom: {
    50: '#e9fca5',
    500: '#dcfa7d',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa7d;
$custom-light: #e9fca5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa7d",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 74.4,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93785,
    "c": 0.15477,
    "h": 120.6
  },
  "luminance": 0.85068
}

Semantic roles & 50–950 ramp

primary
#DCFA7D
secondary
#6744D7
accent
#00E637
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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