#ECB78B#ECB78B

#ECB78B is a light, moderate orange. Relative luminance 0.536; OKLCH L 81.7% C 0.085 H 60.9°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#ECB78B
RGBrgb(236, 183, 139)
HSLhsl(27, 72%, 74%)
HSVhsv(27, 41%, 93%)
CMYKcmyk(0%, 22.5%, 41.1%, 7.5%)
CIE-LABlab(78.21, 13.56, 29.73)
CIE-LCHlch(78.21, 32.68, 65.48°)
OKLaboklab(81.72% 0.0412 0.074)
OKLCHoklch(81.72% 0.085 60.9)
XYZxyz(56.1877, 53.5671, 31.8011)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB78B #8BC0EC
analogous
#EC8B8F #ECB78B #ECE78B
triadic
#ECB78B #8BECB7 #B78BEC
tetradic
#ECB78B #8FEC8B #8BC0EC #E78BEC
square
#ECB78B #8FEC8B #8BC0EC #E78BEC
split-complementary
#ECB78B #8BECE7 #8B8FEC
monochromatic
#D97624 #E39656 #ECB78B #F5D8C0 #FBEFE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECB78B#FFFFFF#000000##000000
##ECB78B1.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)
#C7BB88
Deuteranopia (green-blind)
#D4C68C
Tritanopia (blue-blind)
#FCACAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ecb78b;
/* rgb */ color: rgb(236, 183, 139);
/* oklch */ color: oklch(81.7% 0.085 60.9);
Tailwind
colors: {
  custom: {
    50: '#f4ccad',
    500: '#ecb78b',
    950: '#000000',
  },
}
SCSS
$custom: #ecb78b;
$custom-light: #f4ccad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb78b",
  "rgb": {
    "r": 236,
    "g": 183,
    "b": 139
  },
  "hsl": {
    "h": 27.216,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.81722,
    "c": 0.08466,
    "h": 60.9
  },
  "luminance": 0.53564
}

Semantic roles & 50–950 ramp

primary
#ECB78B
secondary
#5593C7
accent
#7CD412
background
#FFFEFD
surface
#FFFAF7
border
#D7D3D0
text
#171310
muted
#858381

Preview Lab

Preview with #ECB78B

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

Preview Lab → · Contrast checker → · Palette generator →

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