#DCEC8D#DCEC8D

#DCEC8D is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 91.0% C 0.120 H 116.7°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#DCEC8D
RGBrgb(220, 236, 141)
HSLhsl(70, 71%, 74%)
HSVhsv(70, 40%, 93%)
CMYKcmyk(6.8%, 0%, 40.3%, 7.5%)
CIE-LABlab(90.38, -19.57, 44.24)
CIE-LCHlch(90.38, 48.37, 113.86°)
OKLaboklab(91.02% -0.0541 0.1077)
OKLCHoklch(91.02% 0.12 116.7)
XYZxyz(64.3187, 77.1302, 36.6934)
Luminance0.7713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEC8D #9D8DEC
analogous
#ECCD8D #DCEC8D #ADEC8D
triadic
#DCEC8D #8DDCEC #EC8DDC
tetradic
#DCEC8D #8DECCD #9D8DEC #EC8DAD
square
#DCEC8D #8DECCD #9D8DEC #EC8DAD
split-complementary
#DCEC8D #8DADEC #CD8DEC
monochromatic
#BCDA24 #CCE359 #DCEC8D #ECF5C1 #F7FBE5

Accessibility & contrast

On white

1.28
#DCEC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#DCEC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEC8D
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEC8D#FFFFFF#000000##000000
##DCEC8D1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E386
Deuteranopia (green-blind)
#F6E492
Tritanopia (blue-blind)
#E5E2D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dcec8d;
/* rgb */ color: rgb(220, 236, 141);
/* oklch */ color: oklch(91.0% 0.120 116.7);
Tailwind
colors: {
  custom: {
    50: '#e8f2af',
    500: '#dcec8d',
    950: '#000000',
  },
}
SCSS
$custom: #dcec8d;
$custom-light: #e8f2af;
$custom-dark: #000000;
JSON
{
  "hex": "#dcec8d",
  "rgb": {
    "r": 220,
    "g": 236,
    "b": 141
  },
  "hsl": {
    "h": 70.105,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91022,
    "c": 0.12049,
    "h": 116.7
  },
  "luminance": 0.7713
}

Semantic roles & 50–950 ramp

primary
#DCEC8D
secondary
#6956C7
accent
#12D333
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #DCEC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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