#DCF381#DCF381

#DCF381 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.3% C 0.142 H 118.7°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#DCF381
RGBrgb(220, 243, 129)
HSLhsl(72, 83%, 73%)
HSVhsv(72, 47%, 95%)
CMYKcmyk(9.5%, 0%, 46.9%, 4.7%)
CIE-LABlab(92.09, -24.19, 52.11)
CIE-LCHlch(92.09, 57.45, 114.90°)
OKLaboklab(92.34% -0.0681 0.1246)
OKLCHoklch(92.34% 0.142 118.7)
XYZxyz(65.5288, 80.9022, 32.9282)
Luminance0.8090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF381 #9881F3
analogous
#F3D181 #DCF381 #A3F381
triadic
#DCF381 #81DCF3 #F381DC
tetradic
#DCF381 #81F3D1 #9881F3 #F381A3
square
#DCF381 #81F3D1 #9881F3 #F381A3
split-complementary
#DCF381 #81A3F3 #D181F3
monochromatic
#BAE416 #CCEE49 #DCF381 #ECF8B9 #F7FCE3

Accessibility & contrast

On white

1.22
#DCF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#DCF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF381
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF381#FFFFFF#000000##000000
##DCF3811.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#FDE987
Tritanopia (blue-blind)
#E6E8D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #dcf381;
/* rgb */ color: rgb(220, 243, 129);
/* oklch */ color: oklch(92.3% 0.142 118.7);
Tailwind
colors: {
  custom: {
    50: '#e8f7a8',
    500: '#dcf381',
    950: '#000000',
  },
}
SCSS
$custom: #dcf381;
$custom-light: #e8f7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf381",
  "rgb": {
    "r": 220,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 72.105,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92337,
    "c": 0.14198,
    "h": 118.7
  },
  "luminance": 0.80902
}

Semantic roles & 50–950 ramp

primary
#DCF381
secondary
#644ACF
accent
#06DF32
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161710
muted
#848581

Preview Lab

Preview with #DCF381

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

Preview Lab → · Contrast checker → · Palette generator →

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