#ECAB51#ECAB51

#ECAB51 is a light, vivid orange. Relative luminance 0.476; OKLCH L 78.6% C 0.130 H 72.6°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#ECAB51
RGBrgb(236, 171, 81)
HSLhsl(35, 80%, 62%)
HSVhsv(35, 66%, 93%)
CMYKcmyk(0%, 27.5%, 65.7%, 7.5%)
CIE-LABlab(74.54, 15.07, 54.46)
CIE-LCHlch(74.54, 56.51, 74.53°)
OKLaboklab(78.61% 0.0389 0.1244)
OKLCHoklch(78.61% 0.13 72.6)
XYZxyz(50.6434, 47.5567, 14.2951)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECAB51 #5192EC
analogous
#EC5E51 #ECAB51 #DFEC51
triadic
#ECAB51 #51ECAB #AB51EC
tetradic
#ECAB51 #51EC5E #5192EC #EC51DF
square
#ECAB51 #51EC5E #5192EC #EC51DF
split-complementary
#ECAB51 #51DFEC #5E51EC
monochromatic
#AF6E13 #E6901A #ECAB51 #F2C688 #F8E0BF

Accessibility & contrast

On white

2.00
#ECAB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#ECAB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECAB51
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECAB51#FFFFFF#000000##000000
##ECAB511.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#D1BE53
Tritanopia (blue-blind)
#FF9A97
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ecab51;
/* rgb */ color: rgb(236, 171, 81);
/* oklch */ color: oklch(78.6% 0.130 72.6);
Tailwind
colors: {
  custom: {
    50: '#f6c385',
    500: '#ecab51',
    950: '#000000',
  },
}
SCSS
$custom: #ecab51;
$custom-light: #f6c385;
$custom-dark: #000000;
JSON
{
  "hex": "#ecab51",
  "rgb": {
    "r": 236,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 34.839,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.78611,
    "c": 0.13032,
    "h": 72.6
  },
  "luminance": 0.47553
}

Semantic roles & 50–950 ramp

primary
#ECAB51
secondary
#B0C8E9
accent
#62DD09
background
#FFFCF8
surface
#FFF8EF
border
#D7D1CA
text
#18120B
muted
#86817C

Preview Lab

Preview with #ECAB51

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

Preview Lab → · Contrast checker → · Palette generator →

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