#DCFA7A#DCFA7A

#DCFA7A is a very light, vivid yellow-green. Relative luminance 0.850; OKLCH L 93.7% C 0.158 H 120.5°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#DCFA7A
RGBrgb(220, 250, 122)
HSLhsl(74, 93%, 73%)
HSVhsv(74, 51%, 98%)
CMYKcmyk(12%, 0%, 51.2%, 2%)
CIE-LABlab(93.88, -28.16, 57.49)
CIE-LCHlch(93.88, 64.02, 116.09°)
OKLaboklab(93.75% -0.0799 0.1358)
OKLCHoklch(93.75% 0.158 120.5)
XYZxyz(67.2142, 84.9922, 31.2728)
Luminance0.8499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA7A #987AFA
analogous
#FAD87A #DCFA7A #9CFA7A
triadic
#DCFA7A #7ADCFA #FA7ADC
tetradic
#DCFA7A #7AFAD8 #987AFA #FA7A9C
square
#DCFA7A #7AFAD8 #987AFA #FA7A9C
split-complementary
#DCFA7A #7A9CFA #D87AFA
monochromatic
#BAF109 #CCF83F #DCFA7A #ECFCB5 #F7FEE2

Accessibility & contrast

On white

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

On black

18.00
#DCFA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFA7A
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFA7A#FFFFFF#000000##000000
##DCFA7A1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcfa7a;
/* rgb */ color: rgb(220, 250, 122);
/* oklch */ color: oklch(93.7% 0.158 120.5);
Tailwind
colors: {
  custom: {
    50: '#e9fca3',
    500: '#dcfa7a',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa7a;
$custom-light: #e9fca3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa7a",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 74.063,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93748,
    "c": 0.15758,
    "h": 120.5
  },
  "luminance": 0.84992
}

Semantic roles & 50–950 ramp

primary
#DCFA7A
secondary
#6441D7
accent
#00E636
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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