#DCFA73#DCFA73

#DCFA73 is a very light, vivid yellow-green. Relative luminance 0.848; OKLCH L 93.7% C 0.164 H 120.1°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#DCFA73
RGBrgb(220, 250, 115)
HSLhsl(73, 93%, 72%)
HSVhsv(73, 54%, 98%)
CMYKcmyk(12%, 0%, 54%, 2%)
CIE-LABlab(93.81, -28.77, 60.54)
CIE-LCHlch(93.81, 67.03, 115.42°)
OKLaboklab(93.67% -0.0822 0.1418)
OKLCHoklch(93.67% 0.164 120.1)
XYZxyz(66.7960, 84.8249, 29.0703)
Luminance0.8482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA73 #9173FA
analogous
#FAD473 #DCFA73 #99FA73
triadic
#DCFA73 #73DCFA #FA73DC
tetradic
#DCFA73 #73FAD4 #9173FA #FA7399
square
#DCFA73 #73FAD4 #9173FA #FA7399
split-complementary
#DCFA73 #7399FA #D473FA
monochromatic
#B8EA08 #CDF838 #DCFA73 #EBFCAE #F8FEE1

Accessibility & contrast

On white

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

On black

17.97
#DCFA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFA73
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFA73#FFFFFF#000000##000000
##DCFA731.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFEE7B
Tritanopia (blue-blind)
#E6EEDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcfa73;
/* rgb */ color: rgb(220, 250, 115);
/* oklch */ color: oklch(93.7% 0.164 120.1);
Tailwind
colors: {
  custom: {
    50: '#e9fc9f',
    500: '#dcfa73',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa73;
$custom-light: #e9fc9f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa73",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 115
  },
  "hsl": {
    "h": 73.333,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93667,
    "c": 0.16393,
    "h": 120.1
  },
  "luminance": 0.84825
}

Semantic roles & 50–950 ramp

primary
#DCFA73
secondary
#5E3BD6
accent
#00E633
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170F
muted
#858580

Preview Lab

Preview with #DCFA73

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

Preview Lab → · Contrast checker → · Palette generator →

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