#ECAB52#ECAB52

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

Color values

HEX#ECAB52
RGBrgb(236, 171, 82)
HSLhsl(35, 80%, 62%)
HSVhsv(35, 65%, 93%)
CMYKcmyk(0%, 27.5%, 65.3%, 7.5%)
CIE-LABlab(74.55, 15.13, 54.01)
CIE-LCHlch(74.55, 56.09, 74.35°)
OKLaboklab(78.62% 0.0392 0.1236)
OKLCHoklch(78.62% 0.13 72.4)
XYZxyz(50.6812, 47.5718, 14.4940)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECAB52 #5293EC
analogous
#EC5E52 #ECAB52 #E0EC52
triadic
#ECAB52 #52ECAB #AB52EC
tetradic
#ECAB52 #52EC5E #5293EC #EC52E0
square
#ECAB52 #52EC5E #5293EC #EC52E0
split-complementary
#ECAB52 #52E0EC #5E52EC
monochromatic
#B06E13 #E6901B #ECAB52 #F2C689 #F8E1C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECAB52#FFFFFF#000000##000000
##ECAB521.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)
#C2AE49
Deuteranopia (green-blind)
#D1BE54
Tritanopia (blue-blind)
#FF9B97
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ecab52;
/* rgb */ color: rgb(236, 171, 82);
/* oklch */ color: oklch(78.6% 0.130 72.4);
Tailwind
colors: {
  custom: {
    50: '#f6c386',
    500: '#ecab52',
    950: '#000000',
  },
}
SCSS
$custom: #ecab52;
$custom-light: #f6c386;
$custom-dark: #000000;
JSON
{
  "hex": "#ecab52",
  "rgb": {
    "r": 236,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 34.675,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.78621,
    "c": 0.12963,
    "h": 72.4
  },
  "luminance": 0.47568
}

Semantic roles & 50–950 ramp

primary
#ECAB52
secondary
#B1C9E9
accent
#62DD09
background
#FFFCF8
surface
#FFF8F0
border
#D7D1CB
text
#18120B
muted
#86817C

Preview Lab

Preview with #ECAB52

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

Preview Lab → · Contrast checker → · Palette generator →

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