#ECB278#ECB278

#ECB278 is a light, moderate orange. Relative luminance 0.510; OKLCH L 80.4% C 0.101 H 65.6°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#ECB278
RGBrgb(236, 178, 120)
HSLhsl(30, 75%, 70%)
HSVhsv(30, 49%, 93%)
CMYKcmyk(0%, 24.6%, 49.2%, 7.5%)
CIE-LABlab(76.70, 14.31, 37.72)
CIE-LCHlch(76.70, 40.35, 69.23°)
OKLaboklab(80.44% 0.0416 0.0916)
OKLCHoklch(80.44% 0.101 65.6)
XYZxyz(53.9051, 51.0332, 24.7769)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB278 #78B2EC
analogous
#EC7878 #ECB278 #ECEC78
triadic
#ECB278 #78ECB2 #B278EC
tetradic
#ECB278 #78EC78 #78B2EC #EC78EC
square
#ECB278 #78EC78 #78B2EC #EC78EC
split-complementary
#ECB278 #78ECEC #7878EC
monochromatic
#CD751D #E49342 #ECB278 #F4D1AE #FBEFE3

Accessibility & contrast

On white

1.87
#ECB278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#ECB278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB278
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB278#FFFFFF#000000##000000
##ECB2781.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B573
Deuteranopia (green-blind)
#D3C379
Tritanopia (blue-blind)
#FDA5A4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ecb278;
/* rgb */ color: rgb(236, 178, 120);
/* oklch */ color: oklch(80.4% 0.101 65.6);
Tailwind
colors: {
  custom: {
    50: '#f5c9a0',
    500: '#ecb278',
    950: '#000000',
  },
}
SCSS
$custom: #ecb278;
$custom-light: #f5c9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb278",
  "rgb": {
    "r": 236,
    "g": 178,
    "b": 120
  },
  "hsl": {
    "h": 30,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.80445,
    "c": 0.10061,
    "h": 65.6
  },
  "luminance": 0.5103
}

Semantic roles & 50–950 ramp

primary
#ECB278
secondary
#4384C5
accent
#73D70E
background
#FFFDFC
surface
#FFF9F5
border
#D7D2CF
text
#17130E
muted
#85827F

Preview Lab

Preview with #ECB278

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

Preview Lab → · Contrast checker → · Palette generator →

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