#ECED56#ECED56

#ECED56 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 91.8% C 0.168 H 109.7°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#ECED56
RGBrgb(236, 237, 86)
HSLhsl(60, 81%, 63%)
HSVhsv(60, 64%, 93%)
CMYKcmyk(0.4%, 0%, 63.7%, 7.1%)
CIE-LABlab(91.27, -18.36, 70.21)
CIE-LCHlch(91.27, 72.57, 104.65°)
OKLaboklab(91.84% -0.0567 0.1585)
OKLCHoklch(91.84% 0.168 109.7)
XYZxyz(66.5581, 79.0750, 20.5592)
Luminance0.7907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECED56 #5756ED
analogous
#EDA256 #ECED56 #A1ED56
triadic
#ECED56 #56ECED #ED56EC
tetradic
#ECED56 #56EDA2 #5756ED #ED56A1
square
#ECED56 #56EDA2 #5756ED #ED56A1
split-complementary
#ECED56 #56A1ED #A256ED
monochromatic
#B4B513 #E6E71F #ECED56 #F2F38D #F8F9C5

Accessibility & contrast

On white

1.25
#ECED56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#ECED56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECED56
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECED56#FFFFFF#000000##000000
##ECED561.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE342
Deuteranopia (green-blind)
#FFE860
Tritanopia (blue-blind)
#FCDFCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #eced56;
/* rgb */ color: rgb(236, 237, 86);
/* oklch */ color: oklch(91.8% 0.168 109.7);
Tailwind
colors: {
  custom: {
    50: '#f5f28d',
    500: '#eced56',
    950: '#000000',
  },
}
SCSS
$custom: #eced56;
$custom-light: #f5f28d;
$custom-dark: #000000;
JSON
{
  "hex": "#eced56",
  "rgb": {
    "r": 236,
    "g": 237,
    "b": 86
  },
  "hsl": {
    "h": 60.397,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.9184,
    "c": 0.16835,
    "h": 109.7
  },
  "luminance": 0.79073
}

Semantic roles & 50–950 ramp

primary
#ECED56
secondary
#3332B5
accent
#08DD0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECED56

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

Preview Lab → · Contrast checker → · Palette generator →

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