#ECDC93#ECDC93

#ECDC93 is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.094 H 97.3°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#ECDC93
RGBrgb(236, 220, 147)
HSLhsl(49, 70%, 75%)
HSVhsv(49, 38%, 93%)
CMYKcmyk(0%, 6.8%, 37.7%, 7.5%)
CIE-LABlab(87.55, -4.79, 37.87)
CIE-LCHlch(87.55, 38.17, 97.20°)
OKLaboklab(89.1% -0.012 0.0932)
OKLCHoklch(89.1% 0.094 97.3)
XYZxyz(65.4529, 71.1278, 37.8793)
Luminance0.7113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDC93 #93A3EC
analogous
#ECAF93 #ECDC93 #D0EC93
triadic
#ECDC93 #93ECDC #DC93EC
tetradic
#ECDC93 #93ECAF #93A3EC #EC93D0
square
#ECDC93 #93ECAF #93A3EC #EC93D0
split-complementary
#ECDC93 #93D0EC #AF93EC
monochromatic
#DABA2B #E3CB5F #ECDC93 #F5EDC7 #FAF7E5

Accessibility & contrast

On white

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

On black

15.23
#ECDC93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDC93
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDC93#FFFFFF#000000##000000
##ECDC931.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD88E
Deuteranopia (green-blind)
#EEDE96
Tritanopia (blue-blind)
#F9D2CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdc93;
/* rgb */ color: rgb(236, 220, 147);
/* oklch */ color: oklch(89.1% 0.094 97.3);
Tailwind
colors: {
  custom: {
    50: '#f3e6b3',
    500: '#ecdc93',
    950: '#000000',
  },
}
SCSS
$custom: #ecdc93;
$custom-light: #f3e6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdc93",
  "rgb": {
    "r": 236,
    "g": 220,
    "b": 147
  },
  "hsl": {
    "h": 49.213,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.89101,
    "c": 0.094,
    "h": 97.3
  },
  "luminance": 0.71126
}

Semantic roles & 50–950 ramp

primary
#ECDC93
secondary
#5C6FC7
accent
#36D213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECDC93

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

Preview Lab → · Contrast checker → · Palette generator →

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