#ECB945#ECB945

#ECB945 is a light, vivid orange. Relative luminance 0.530; OKLCH L 81.2% C 0.142 H 84.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#ECB945
RGBrgb(236, 185, 69)
HSLhsl(42, 81%, 60%)
HSVhsv(42, 71%, 93%)
CMYKcmyk(0%, 21.6%, 70.8%, 7.5%)
CIE-LABlab(77.85, 7.05, 63.18)
CIE-LCHlch(77.85, 63.58, 83.63°)
OKLaboklab(81.17% 0.014 0.1409)
OKLCHoklch(81.17% 0.142 84.3)
XYZxyz(53.0184, 52.9641, 13.0597)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB945 #4578EC
analogous
#EC6645 #ECB945 #CBEC45
triadic
#ECB945 #45ECB9 #B945EC
tetradic
#ECB945 #45EC66 #4578EC #EC45CB
square
#ECB945 #45EC66 #4578EC #EC45CB
split-complementary
#ECB945 #45CBEC #6645EC
monochromatic
#A67811 #DDA117 #ECB945 #F2CE7D #F7E3B4

Accessibility & contrast

On white

1.81
#ECB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#ECB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB945
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB945#FFFFFF#000000##000000
##ECB9451.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB935
Deuteranopia (green-blind)
#DCC64A
Tritanopia (blue-blind)
#FFA9A1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ecb945;
/* rgb */ color: rgb(236, 185, 69);
/* oklch */ color: oklch(81.2% 0.142 84.3);
Tailwind
colors: {
  custom: {
    50: '#f7cd7f',
    500: '#ecb945',
    950: '#000000',
  },
}
SCSS
$custom: #ecb945;
$custom-light: #f7cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb945",
  "rgb": {
    "r": 236,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 41.677,
    "s": 81.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81171,
    "c": 0.1416,
    "h": 84.3
  },
  "luminance": 0.5296
}

Semantic roles & 50–950 ramp

primary
#ECB945
secondary
#2E53A7
accent
#6DF830
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130A
muted
#86837D

Preview Lab

Preview with #ECB945

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

Preview Lab → · Contrast checker → · Palette generator →

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