#DCF87B#DCF87B

#DCF87B is a very light, vivid yellow-green. Relative luminance 0.838; OKLCH L 93.3% C 0.154 H 119.9°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#DCF87B
RGBrgb(220, 248, 123)
HSLhsl(73, 90%, 73%)
HSVhsv(73, 50%, 97%)
CMYKcmyk(11.3%, 0%, 50.4%, 2.7%)
CIE-LABlab(93.36, -27.13, 56.42)
CIE-LCHlch(93.36, 62.60, 115.68°)
OKLaboklab(93.33% -0.0769 0.1336)
OKLCHoklch(93.33% 0.154 119.9)
XYZxyz(66.6583, 83.7807, 31.3947)
Luminance0.8378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCF87B #977BF8
analogous
#F8D57B #DCF87B #9DF87B
triadic
#DCF87B #7BDCF8 #F87BDC
tetradic
#DCF87B #7BF8D5 #977BF8 #F87B9D
square
#DCF87B #7BF8D5 #977BF8 #F87B9D
split-complementary
#DCF87B #7B9DF8 #D57BF8
monochromatic
#BAEC0D #CDF541 #DCF87B #EBFBB5 #F7FDE2

Accessibility & contrast

On white

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

On black

17.76
#DCF87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCF87B
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCF87B#FFFFFF#000000##000000
##DCF87B1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FFEC82
Tritanopia (blue-blind)
#E6EDDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #dcf87b;
/* rgb */ color: rgb(220, 248, 123);
/* oklch */ color: oklch(93.3% 0.154 119.9);
Tailwind
colors: {
  custom: {
    50: '#e9faa4',
    500: '#dcf87b',
    950: '#000000',
  },
}
SCSS
$custom: #dcf87b;
$custom-light: #e9faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcf87b",
  "rgb": {
    "r": 220,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 73.44,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93331,
    "c": 0.15413,
    "h": 119.9
  },
  "luminance": 0.83781
}

Semantic roles & 50–950 ramp

primary
#DCF87B
secondary
#6443D4
accent
#00E633
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCF87B

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

Preview Lab → · Contrast checker → · Palette generator →

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