#DCEC5D#DCEC5D

#DCEC5D is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.4% C 0.166 H 115.2°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#DCEC5D
RGBrgb(220, 236, 93)
HSLhsl(67, 79%, 65%)
HSVhsv(67, 61%, 93%)
CMYKcmyk(6.8%, 0%, 60.6%, 7.5%)
CIE-LABlab(89.86, -23.85, 65.54)
CIE-LCHlch(89.86, 69.75, 110.00°)
OKLaboklab(90.44% -0.0705 0.15)
OKLCHoklch(90.44% 0.166 115.2)
XYZxyz(61.4878, 75.9978, 21.7837)
Luminance0.7600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEC5D #6D5DEC
analogous
#ECB45D #DCEC5D #95EC5D
triadic
#DCEC5D #5DDCEC #EC5DDC
tetradic
#DCEC5D #5DECB4 #6D5DEC #EC5D95
square
#DCEC5D #5DECB4 #6D5DEC #EC5D95
split-complementary
#DCEC5D #5D95EC #B45DEC
monochromatic
#A7B916 #D0E626 #DCEC5D #E8F294 #F4F9CB

Accessibility & contrast

On white

1.30
#DCEC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#DCEC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEC5D
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEC5D#FFFFFF#000000##000000
##DCEC5D1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE14C
Deuteranopia (green-blind)
#FAE366
Tritanopia (blue-blind)
#E9DFCE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dcec5d;
/* rgb */ color: rgb(220, 236, 93);
/* oklch */ color: oklch(90.4% 0.166 115.2);
Tailwind
colors: {
  custom: {
    50: '#eaf291',
    500: '#dcec5d',
    950: '#000000',
  },
}
SCSS
$custom: #dcec5d;
$custom-light: #eaf291;
$custom-dark: #000000;
JSON
{
  "hex": "#dcec5d",
  "rgb": {
    "r": 220,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 66.713,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90435,
    "c": 0.16576,
    "h": 115.2
  },
  "luminance": 0.75997
}

Semantic roles & 50–950 ramp

primary
#DCEC5D
secondary
#4435B8
accent
#0ADB22
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #DCEC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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