#DCFA57#DCFA57

#DCFA57 is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.4% C 0.186 H 119.1°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#DCFA57
RGBrgb(220, 250, 87)
HSLhsl(71, 94%, 66%)
HSVhsv(71, 65%, 98%)
CMYKcmyk(12%, 0%, 65.2%, 2%)
CIE-LABlab(93.57, -30.82, 71.85)
CIE-LCHlch(93.57, 78.18, 113.22°)
OKLaboklab(93.4% -0.0905 0.1625)
OKLCHoklch(93.4% 0.186 119.1)
XYZxyz(65.4223, 84.2754, 21.8353)
Luminance0.8427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCFA57 #7557FA
analogous
#FAC657 #DCFA57 #8AFA57
triadic
#DCFA57 #57DCFA #FA57DC
tetradic
#DCFA57 #57FAC6 #7557FA #FA578A
square
#DCFA57 #57FAC6 #7557FA #FA578A
split-complementary
#DCFA57 #578AFA #C657FA
monochromatic
#ABD006 #D0F81C #DCFA57 #E8FC92 #F5FECE

Accessibility & contrast

On white

1.18
#DCFA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#DCFA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCFA57
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCFA57#FFFFFF#000000##000000
##DCFA571.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED40
Deuteranopia (green-blind)
#FFED63
Tritanopia (blue-blind)
#E8EDD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dcfa57;
/* rgb */ color: rgb(220, 250, 87);
/* oklch */ color: oklch(93.4% 0.186 119.1);
Tailwind
colors: {
  custom: {
    50: '#eafc8e',
    500: '#dcfa57',
    950: '#000000',
  },
}
SCSS
$custom: #dcfa57;
$custom-light: #eafc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcfa57",
  "rgb": {
    "r": 220,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 71.043,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.934,
    "c": 0.18604,
    "h": 119.1
  },
  "luminance": 0.84275
}

Semantic roles & 50–950 ramp

primary
#DCFA57
secondary
#482ACB
accent
#00E62A
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DCFA57

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

Preview Lab → · Contrast checker → · Palette generator →

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