#DCEC8E#DCEC8E

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

Color values

HEX#DCEC8E
RGBrgb(220, 236, 142)
HSLhsl(70, 71%, 74%)
HSVhsv(70, 40%, 93%)
CMYKcmyk(6.8%, 0%, 39.8%, 7.5%)
CIE-LABlab(90.40, -19.46, 43.77)
CIE-LCHlch(90.40, 47.90, 113.97°)
OKLaboklab(91.04% -0.0537 0.1067)
OKLCHoklch(91.04% 0.119 116.7)
XYZxyz(64.3935, 77.1601, 37.0870)
Luminance0.7716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEC8E #9E8EEC
analogous
#ECCD8E #DCEC8E #ADEC8E
triadic
#DCEC8E #8EDCEC #EC8EDC
tetradic
#DCEC8E #8EECCD #9E8EEC #EC8EAD
square
#DCEC8E #8EECCD #9E8EEC #EC8EAD
split-complementary
#DCEC8E #8EADEC #CD8EEC
monochromatic
#BCDA25 #CCE35A #DCEC8E #ECF5C2 #F7FBE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCEC8E#FFFFFF#000000##000000
##DCEC8E1.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)
#F8E387
Deuteranopia (green-blind)
#F6E493
Tritanopia (blue-blind)
#E5E3D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dcec8e;
/* rgb */ color: rgb(220, 236, 142);
/* oklch */ color: oklch(91.0% 0.119 116.7);
Tailwind
colors: {
  custom: {
    50: '#e8f2b0',
    500: '#dcec8e',
    950: '#000000',
  },
}
SCSS
$custom: #dcec8e;
$custom-light: #e8f2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcec8e",
  "rgb": {
    "r": 220,
    "g": 236,
    "b": 142
  },
  "hsl": {
    "h": 70.213,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91038,
    "c": 0.11941,
    "h": 116.7
  },
  "luminance": 0.7716
}

Semantic roles & 50–950 ramp

primary
#DCEC8E
secondary
#6A57C7
accent
#12D333
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161611
muted
#848581

Preview Lab

Preview with #DCEC8E

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

Preview Lab → · Contrast checker → · Palette generator →

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