#DCEC5B#DCEC5B

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

Color values

HEX#DCEC5B
RGBrgb(220, 236, 91)
HSLhsl(67, 79%, 64%)
HSVhsv(67, 61%, 93%)
CMYKcmyk(6.8%, 0%, 61.4%, 7.5%)
CIE-LABlab(89.84, -23.99, 66.34)
CIE-LCHlch(89.84, 70.55, 109.88°)
OKLaboklab(90.42% -0.0711 0.1515)
OKLCHoklch(90.42% 0.167 115.1)
XYZxyz(61.4004, 75.9628, 21.3233)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEC5B #6B5BEC
analogous
#ECB45B #DCEC5B #94EC5B
triadic
#DCEC5B #5BDCEC #EC5BDC
tetradic
#DCEC5B #5BECB4 #6B5BEC #EC5B94
square
#DCEC5B #5BECB4 #6B5BEC #EC5B94
split-complementary
#DCEC5B #5B94EC #B45BEC
monochromatic
#A5B715 #D0E624 #DCEC5B #E8F292 #F3F9C9

Accessibility & contrast

On white

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

On black

16.19
#DCEC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEC5B
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEC5B#FFFFFF#000000##000000
##DCEC5B1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcec5b;
/* rgb */ color: rgb(220, 236, 91);
/* oklch */ color: oklch(90.4% 0.167 115.1);
Tailwind
colors: {
  custom: {
    50: '#eaf28f',
    500: '#dcec5b',
    950: '#000000',
  },
}
SCSS
$custom: #dcec5b;
$custom-light: #eaf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcec5b",
  "rgb": {
    "r": 220,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 66.621,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90416,
    "c": 0.1673,
    "h": 115.1
  },
  "luminance": 0.75962
}

Semantic roles & 50–950 ramp

primary
#DCEC5B
secondary
#4334B7
accent
#0ADC21
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #DCEC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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