#ECC278#ECC278

#ECC278 is a very light, moderate orange. Relative luminance 0.578; OKLCH L 83.5% C 0.104 H 80.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#ECC278
RGBrgb(236, 194, 120)
HSLhsl(38, 75%, 70%)
HSVhsv(38, 49%, 93%)
CMYKcmyk(0%, 17.8%, 49.2%, 7.5%)
CIE-LABlab(80.61, 5.89, 42.65)
CIE-LCHlch(80.61, 43.06, 82.14°)
OKLaboklab(83.51% 0.0168 0.1027)
OKLCHoklch(83.51% 0.104 80.7)
XYZxyz(57.2763, 57.7756, 25.9006)
Luminance0.5777 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC278 #78A2EC
analogous
#EC8878 #ECC278 #DCEC78
triadic
#ECC278 #78ECC2 #C278EC
tetradic
#ECC278 #78EC88 #78A2EC #EC78DC
square
#ECC278 #78EC88 #78A2EC #EC78DC
split-complementary
#ECC278 #78DCEC #8878EC
monochromatic
#CD8D1D #E4AA42 #ECC278 #F4DAAE #FBF2E3

Accessibility & contrast

On white

1.67
#ECC278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#ECC278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC278
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC278#FFFFFF#000000##000000
##ECC2781.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C272
Deuteranopia (green-blind)
#DECC7A
Tritanopia (blue-blind)
#FDB5B0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ecc278;
/* rgb */ color: rgb(236, 194, 120);
/* oklch */ color: oklch(83.5% 0.104 80.7);
Tailwind
colors: {
  custom: {
    50: '#f4d4a0',
    500: '#ecc278',
    950: '#000000',
  },
}
SCSS
$custom: #ecc278;
$custom-light: #f4d4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc278",
  "rgb": {
    "r": 236,
    "g": 194,
    "b": 120
  },
  "hsl": {
    "h": 38.276,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8351,
    "c": 0.10408,
    "h": 80.7
  },
  "luminance": 0.57773
}

Semantic roles & 50–950 ramp

primary
#ECC278
secondary
#4372C5
accent
#57D70E
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC278

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

Preview Lab → · Contrast checker → · Palette generator →

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