#ECDC8D#ECDC8D

#ECDC8D is a very light, moderate yellow. Relative luminance 0.709; OKLCH L 89.0% C 0.101 H 98.2°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#ECDC8D
RGBrgb(236, 220, 141)
HSLhsl(50, 71%, 74%)
HSVhsv(50, 40%, 93%)
CMYKcmyk(0%, 6.8%, 40.3%, 7.5%)
CIE-LABlab(87.46, -5.44, 40.77)
CIE-LCHlch(87.46, 41.13, 97.60°)
OKLaboklab(89% -0.0143 0.0997)
OKLCHoklch(89% 0.101 98.2)
XYZxyz(64.9943, 70.9444, 35.4641)
Luminance0.7094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDC8D #8D9DEC
analogous
#ECAD8D #ECDC8D #CDEC8D
triadic
#ECDC8D #8DECDC #DC8DEC
tetradic
#ECDC8D #8DECAD #8D9DEC #EC8DCD
square
#ECDC8D #8DECAD #8D9DEC #EC8DCD
split-complementary
#ECDC8D #8DCDEC #AD8DEC
monochromatic
#DABC24 #E3CC59 #ECDC8D #F5ECC1 #FBF7E5

Accessibility & contrast

On white

1.38
#ECDC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#ECDC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDC8D
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDC8D#FFFFFF#000000##000000
##ECDC8D1.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD887
Deuteranopia (green-blind)
#EFDE90
Tritanopia (blue-blind)
#F9D1C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdc8d;
/* rgb */ color: rgb(236, 220, 141);
/* oklch */ color: oklch(89.0% 0.101 98.2);
Tailwind
colors: {
  custom: {
    50: '#f3e6af',
    500: '#ecdc8d',
    950: '#000000',
  },
}
SCSS
$custom: #ecdc8d;
$custom-light: #f3e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdc8d",
  "rgb": {
    "r": 236,
    "g": 220,
    "b": 141
  },
  "hsl": {
    "h": 49.895,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89001,
    "c": 0.10067,
    "h": 98.2
  },
  "luminance": 0.70942
}

Semantic roles & 50–950 ramp

primary
#ECDC8D
secondary
#5669C7
accent
#33D312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECDC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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