#ECDC88#ECDC88

#ECDC88 is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.106 H 98.8°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#ECDC88
RGBrgb(236, 220, 136)
HSLhsl(50, 72%, 73%)
HSVhsv(50, 42%, 93%)
CMYKcmyk(0%, 6.8%, 42.4%, 7.5%)
CIE-LABlab(87.39, -5.95, 43.17)
CIE-LCHlch(87.39, 43.58, 97.85°)
OKLaboklab(88.92% -0.0162 0.1049)
OKLCHoklch(88.92% 0.106 98.8)
XYZxyz(64.6307, 70.7989, 33.5488)
Luminance0.7080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDC88 #8898EC
analogous
#ECAA88 #ECDC88 #CAEC88
triadic
#ECDC88 #88ECDC #DC88EC
tetradic
#ECDC88 #88ECAA #8898EC #EC88CA
square
#ECDC88 #88ECAA #8898EC #EC88CA
split-complementary
#ECDC88 #88CAEC #AA88EC
monochromatic
#D7BA22 #E4CC53 #ECDC88 #F4ECBD #FBF7E5

Accessibility & contrast

On white

1.39
#ECDC88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#ECDC88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDC88
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDC88#FFFFFF#000000##000000
##ECDC881.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD881
Deuteranopia (green-blind)
#F0DE8B
Tritanopia (blue-blind)
#FAD1C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdc88;
/* rgb */ color: rgb(236, 220, 136);
/* oklch */ color: oklch(88.9% 0.106 98.8);
Tailwind
colors: {
  custom: {
    50: '#f4e6ac',
    500: '#ecdc88',
    950: '#000000',
  },
}
SCSS
$custom: #ecdc88;
$custom-light: #f4e6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdc88",
  "rgb": {
    "r": 236,
    "g": 220,
    "b": 136
  },
  "hsl": {
    "h": 50.4,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.88922,
    "c": 0.1061,
    "h": 98.8
  },
  "luminance": 0.70797
}

Semantic roles & 50–950 ramp

primary
#ECDC88
secondary
#5264C6
accent
#30D511
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECDC88

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

Preview Lab → · Contrast checker → · Palette generator →

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