#DCF281#DCF281

#DCF281 is a very light, vivid yellow-green. Relative luminance 0.803; OKLCH L 92.1% C 0.141 H 118.3°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#DCF281
RGBrgb(220, 242, 129)
HSLhsl(72, 81%, 73%)
HSVhsv(72, 47%, 95%)
CMYKcmyk(9.1%, 0%, 46.7%, 5.1%)
CIE-LABlab(91.82, -23.71, 51.79)
CIE-LCHlch(91.82, 56.96, 114.60°)
OKLaboklab(92.12% -0.0667 0.1239)
OKLCHoklch(92.12% 0.141 118.3)
XYZxyz(65.2303, 80.3053, 32.8287)
Luminance0.8031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF281 #9781F2
analogous
#F2CF81 #DCF281 #A4F281
triadic
#DCF281 #81DCF2 #F281DC
tetradic
#DCF281 #81F2CF #9781F2 #F281A4
square
#DCF281 #81F2CF #9781F2 #F281A4
split-complementary
#DCF281 #81A4F2 #CF81F2
monochromatic
#BAE117 #CDEC4A #DCF281 #EBF8B8 #F7FCE3

Accessibility & contrast

On white

1.23
#DCF281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#DCF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF281
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF281#FFFFFF#000000##000000
##DCF2811.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE777
Deuteranopia (green-blind)
#FCE887
Tritanopia (blue-blind)
#E6E7D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dcf281;
/* rgb */ color: rgb(220, 242, 129);
/* oklch */ color: oklch(92.1% 0.141 118.3);
Tailwind
colors: {
  custom: {
    50: '#e8f6a8',
    500: '#dcf281',
    950: '#000000',
  },
}
SCSS
$custom: #dcf281;
$custom-light: #e8f6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf281",
  "rgb": {
    "r": 220,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 71.681,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92124,
    "c": 0.14071,
    "h": 118.3
  },
  "luminance": 0.80305
}

Semantic roles & 50–950 ramp

primary
#DCF281
secondary
#634ACD
accent
#08DE31
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DCF281

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

Preview Lab → · Contrast checker → · Palette generator →

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