#ECCB56#ECCB56

#ECCB56 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.9% C 0.139 H 93.4°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#ECCB56
RGBrgb(236, 203, 86)
HSLhsl(47, 80%, 63%)
HSVhsv(47, 64%, 93%)
CMYKcmyk(0%, 14%, 63.6%, 7.5%)
CIE-LABlab(82.50, -1.36, 60.91)
CIE-LCHlch(82.50, 60.92, 91.28°)
OKLaboklab(84.87% -0.0083 0.1389)
OKLCHoklch(84.87% 0.139 93.4)
XYZxyz(57.6304, 61.2197, 17.5833)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB56 #5677EC
analogous
#EC8056 #ECCB56 #C2EC56
triadic
#ECCB56 #56ECCB #CB56EC
tetradic
#ECCB56 #56EC80 #5677EC #EC56C2
square
#ECCB56 #56EC80 #5677EC #EC56C2
split-complementary
#ECCB56 #56C2EC #8056EC
monochromatic
#B39014 #E6BA1F #ECCB56 #F2DC8D #F8EDC4

Accessibility & contrast

On white

1.59
#ECCB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#ECCB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB56
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB56#FFFFFF#000000##000000
##ECCB561.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC849
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#FEBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb56;
/* rgb */ color: rgb(236, 203, 86);
/* oklch */ color: oklch(84.9% 0.139 93.4);
Tailwind
colors: {
  custom: {
    50: '#f6da8a',
    500: '#eccb56',
    950: '#000000',
  },
}
SCSS
$custom: #eccb56;
$custom-light: #f6da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb56",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 46.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84872,
    "c": 0.13911,
    "h": 93.4
  },
  "luminance": 0.61217
}

Semantic roles & 50–950 ramp

primary
#ECCB56
secondary
#334FB3
accent
#38DC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCB56

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

Preview Lab → · Contrast checker → · Palette generator →

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