#DCFA74#DCFA74

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

Color values

HEX#DCFA74
RGBrgb(220, 250, 116)
HSLhsl(73, 93%, 72%)
HSVhsv(73, 54%, 98%)
CMYKcmyk(12%, 0%, 53.6%, 2%)
CIE-LABlab(93.82, -28.69, 60.11)
CIE-LCHlch(93.82, 66.60, 115.51°)
OKLaboklab(93.68% -0.0819 0.141)
OKLCHoklch(93.68% 0.163 120.2)
XYZxyz(66.8539, 84.8480, 29.3750)
Luminance0.8485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA74 #9274FA
analogous
#FAD574 #DCFA74 #99FA74
triadic
#DCFA74 #74DCFA #FA74DC
tetradic
#DCFA74 #74FAD5 #9274FA #FA7499
square
#DCFA74 #74FAD5 #9274FA #FA7499
split-complementary
#DCFA74 #7499FA #D574FA
monochromatic
#B8EB08 #CDF839 #DCFA74 #EBFCAF #F8FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCFA74#FFFFFF#000000##000000
##DCFA741.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)
#FFEE67
Deuteranopia (green-blind)
#FFEE7C
Tritanopia (blue-blind)
#E6EFDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #dcfa74;
/* rgb */ color: rgb(220, 250, 116);
/* oklch */ color: oklch(93.7% 0.163 120.2);
Tailwind
colors: {
  custom: {
    50: '#e9fca0',
    500: '#dcfa74',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa74;
$custom-light: #e9fca0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa74",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 116
  },
  "hsl": {
    "h": 73.433,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93678,
    "c": 0.16303,
    "h": 120.2
  },
  "luminance": 0.84848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCFA74

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

Preview Lab → · Contrast checker → · Palette generator →

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