#ECBA52#ECBA52

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

Color values

HEX#ECBA52
RGBrgb(236, 186, 82)
HSLhsl(41, 80%, 62%)
HSVhsv(41, 65%, 93%)
CMYKcmyk(0%, 21.2%, 65.3%, 7.5%)
CIE-LABlab(78.21, 7.23, 58.01)
CIE-LCHlch(78.21, 58.46, 82.90°)
OKLaboklab(81.48% 0.0161 0.1321)
OKLCHoklch(81.48% 0.133 83.1)
XYZxyz(53.6770, 53.5634, 15.4926)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECBA52 #5284EC
analogous
#EC6D52 #ECBA52 #D1EC52
triadic
#ECBA52 #52ECBA #BA52EC
tetradic
#ECBA52 #52EC6D #5284EC #EC52D1
square
#ECBA52 #52EC6D #5284EC #EC52D1
split-complementary
#ECBA52 #52D1EC #6D52EC
monochromatic
#B07D13 #E6A41B #ECBA52 #F2D089 #F8E6C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECBA52#FFFFFF#000000##000000
##ECBA521.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)
#CFBA46
Deuteranopia (green-blind)
#DBC756
Tritanopia (blue-blind)
#FFAAA4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ecba52;
/* rgb */ color: rgb(236, 186, 82);
/* oklch */ color: oklch(81.5% 0.133 83.1);
Tailwind
colors: {
  custom: {
    50: '#f6ce87',
    500: '#ecba52',
    950: '#000000',
  },
}
SCSS
$custom: #ecba52;
$custom-light: #f6ce87;
$custom-dark: #000000;
JSON
{
  "hex": "#ecba52",
  "rgb": {
    "r": 236,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 40.519,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81482,
    "c": 0.13308,
    "h": 83.1
  },
  "luminance": 0.5356
}

Semantic roles & 50–950 ramp

primary
#ECBA52
secondary
#325BB1
accent
#4EDD09
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130B
muted
#86837E

Preview Lab

Preview with #ECBA52

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

Preview Lab → · Contrast checker → · Palette generator →

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