#ECDB56#ECDB56

#ECDB56 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.151 H 102.0°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#ECDB56
RGBrgb(236, 219, 86)
HSLhsl(53, 80%, 63%)
HSVhsv(53, 64%, 93%)
CMYKcmyk(0%, 7.2%, 63.6%, 7.5%)
CIE-LABlab(86.59, -9.48, 65.29)
CIE-LCHlch(86.59, 65.98, 98.26°)
OKLaboklab(88.11% -0.0315 0.1482)
OKLCHoklch(88.11% 0.151 102)
XYZxyz(61.6058, 69.1703, 18.9084)
Luminance0.6917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB56 #5667EC
analogous
#EC9056 #ECDB56 #B2EC56
triadic
#ECDB56 #56ECDB #DB56EC
tetradic
#ECDB56 #56EC90 #5667EC #EC56B2
square
#ECDB56 #56EC90 #5667EC #EC56B2
split-complementary
#ECDB56 #56B2EC #9056EC
monochromatic
#B3A114 #E6CF1F #ECDB56 #F2E78D #F8F2C4

Accessibility & contrast

On white

1.42
#ECDB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#ECDB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB56
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB56#FFFFFF#000000##000000
##ECDB561.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED546
Deuteranopia (green-blind)
#F3DC5D
Tritanopia (blue-blind)
#FDCDBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecdb56;
/* rgb */ color: rgb(236, 219, 86);
/* oklch */ color: oklch(88.1% 0.151 102.0);
Tailwind
colors: {
  custom: {
    50: '#f5e58b',
    500: '#ecdb56',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb56;
$custom-light: #f5e58b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb56",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 86
  },
  "hsl": {
    "h": 53.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.88114,
    "c": 0.15148,
    "h": 102
  },
  "luminance": 0.69168
}

Semantic roles & 50–950 ramp

primary
#ECDB56
secondary
#3341B3
accent
#21DC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECDB56

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

Preview Lab → · Contrast checker → · Palette generator →

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