#ECCD56#ECCD56

#ECCD56 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.3% C 0.140 H 94.6°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#ECCD56
RGBrgb(236, 205, 86)
HSLhsl(48, 80%, 63%)
HSVhsv(48, 64%, 93%)
CMYKcmyk(0%, 13.1%, 63.6%, 7.5%)
CIE-LABlab(83.00, -2.39, 61.46)
CIE-LCHlch(83.00, 61.50, 92.22°)
OKLaboklab(85.27% -0.0112 0.14)
OKLCHoklch(85.27% 0.14 94.6)
XYZxyz(58.1058, 62.1704, 17.7418)
Luminance0.6217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD56 #5675EC
analogous
#EC8256 #ECCD56 #C0EC56
triadic
#ECCD56 #56ECCD #CD56EC
tetradic
#ECCD56 #56EC82 #5675EC #EC56C0
square
#ECCD56 #56EC82 #5675EC #EC56C0
split-complementary
#ECCD56 #56C0EC #8256EC
monochromatic
#B39314 #E6BD1F #ECCD56 #F2DD8D #F8EEC4

Accessibility & contrast

On white

1.56
#ECCD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#ECCD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD56
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD56#FFFFFF#000000##000000
##ECCD561.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C948
Deuteranopia (green-blind)
#E9D35C
Tritanopia (blue-blind)
#FEBEB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd56;
/* rgb */ color: rgb(236, 205, 86);
/* oklch */ color: oklch(85.3% 0.140 94.6);
Tailwind
colors: {
  custom: {
    50: '#f6db8a',
    500: '#eccd56',
    950: '#000000',
  },
}
SCSS
$custom: #eccd56;
$custom-light: #f6db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd56",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 47.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85273,
    "c": 0.14048,
    "h": 94.6
  },
  "luminance": 0.62167
}

Semantic roles & 50–950 ramp

primary
#ECCD56
secondary
#334DB3
accent
#35DC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCD56

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

Preview Lab → · Contrast checker → · Palette generator →

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