#ECBA51#ECBA51

#ECBA51 is a light, vivid orange. Relative luminance 0.535; OKLCH L 81.5% C 0.134 H 83.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#ECBA51
RGBrgb(236, 186, 81)
HSLhsl(41, 80%, 62%)
HSVhsv(41, 66%, 93%)
CMYKcmyk(0%, 21.2%, 65.7%, 7.5%)
CIE-LABlab(78.20, 7.17, 58.45)
CIE-LCHlch(78.20, 58.88, 83.01°)
OKLaboklab(81.47% 0.0158 0.1329)
OKLCHoklch(81.47% 0.134 83.2)
XYZxyz(53.6392, 53.5483, 15.2937)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECBA51 #5183EC
analogous
#EC6D51 #ECBA51 #D1EC51
triadic
#ECBA51 #51ECBA #BA51EC
tetradic
#ECBA51 #51EC6D #5183EC #EC51D1
square
#ECBA51 #51EC6D #5183EC #EC51D1
split-complementary
#ECBA51 #51D1EC #6D51EC
monochromatic
#AF7D13 #E6A41A #ECBA51 #F2D088 #F8E6BF

Accessibility & contrast

On white

1.79
#ECBA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#ECBA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECBA51
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECBA51#FFFFFF#000000##000000
##ECBA511.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA45
Deuteranopia (green-blind)
#DBC755
Tritanopia (blue-blind)
#FFAAA3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ecba51;
/* rgb */ color: rgb(236, 186, 81);
/* oklch */ color: oklch(81.5% 0.134 83.2);
Tailwind
colors: {
  custom: {
    50: '#f6ce86',
    500: '#ecba51',
    950: '#000000',
  },
}
SCSS
$custom: #ecba51;
$custom-light: #f6ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#ecba51",
  "rgb": {
    "r": 236,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 40.645,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81472,
    "c": 0.13381,
    "h": 83.2
  },
  "luminance": 0.53545
}

Semantic roles & 50–950 ramp

primary
#ECBA51
secondary
#315AB0
accent
#4DDD09
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130B
muted
#86837E

Preview Lab

Preview with #ECBA51

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

Preview Lab → · Contrast checker → · Palette generator →

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