#ECCA56#ECCA56

#ECCA56 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.7% C 0.138 H 92.8°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#ECCA56
RGBrgb(236, 202, 86)
HSLhsl(46, 80%, 63%)
HSVhsv(46, 64%, 93%)
CMYKcmyk(0%, 14.4%, 63.6%, 7.5%)
CIE-LABlab(82.24, -0.84, 60.64)
CIE-LCHlch(82.24, 60.64, 90.80°)
OKLaboklab(84.67% -0.0068 0.1383)
OKLCHoklch(84.67% 0.138 92.8)
XYZxyz(57.3951, 60.7489, 17.5049)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA56 #5678EC
analogous
#EC7F56 #ECCA56 #C3EC56
triadic
#ECCA56 #56ECCA #CA56EC
tetradic
#ECCA56 #56EC7F #5678EC #EC56C3
square
#ECCA56 #56EC7F #5678EC #EC56C3
split-complementary
#ECCA56 #56C3EC #7F56EC
monochromatic
#B38F14 #E6B91F #ECCA56 #F2DB8D #F8EDC4

Accessibility & contrast

On white

1.60
#ECCA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#ECCA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCA56
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCA56#FFFFFF#000000##000000
##ECCA561.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC749
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#FEBBB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecca56;
/* rgb */ color: rgb(236, 202, 86);
/* oklch */ color: oklch(84.7% 0.138 92.8);
Tailwind
colors: {
  custom: {
    50: '#f6d98a',
    500: '#ecca56',
    950: '#000000',
  },
}
SCSS
$custom: #ecca56;
$custom-light: #f6d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca56",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 46.4,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84672,
    "c": 0.13845,
    "h": 92.8
  },
  "luminance": 0.60746
}

Semantic roles & 50–950 ramp

primary
#ECCA56
secondary
#3350B3
accent
#39DC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCA56

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

Preview Lab → · Contrast checker → · Palette generator →

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