#ECC178#ECC178

#ECC178 is a very light, moderate orange. Relative luminance 0.573; OKLCH L 83.3% C 0.104 H 79.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#ECC178
RGBrgb(236, 193, 120)
HSLhsl(38, 75%, 70%)
HSVhsv(38, 49%, 93%)
CMYKcmyk(0%, 18.2%, 49.2%, 7.5%)
CIE-LABlab(80.37, 6.41, 42.34)
CIE-LCHlch(80.37, 42.83, 81.39°)
OKLaboklab(83.32% 0.0183 0.102)
OKLCHoklch(83.32% 0.104 79.8)
XYZxyz(57.0545, 57.3320, 25.8266)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC178 #78A3EC
analogous
#EC8778 #ECC178 #DDEC78
triadic
#ECC178 #78ECC1 #C178EC
tetradic
#ECC178 #78EC87 #78A3EC #EC78DD
square
#ECC178 #78EC87 #78A3EC #EC78DD
split-complementary
#ECC178 #78DDEC #8778EC
monochromatic
#CD8C1D #E4A842 #ECC178 #F4DAAE #FBF2E3

Accessibility & contrast

On white

1.68
#ECC178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#ECC178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC178
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC178#FFFFFF#000000##000000
##ECC1781.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C172
Deuteranopia (green-blind)
#DDCC7A
Tritanopia (blue-blind)
#FDB4AF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc178;
/* rgb */ color: rgb(236, 193, 120);
/* oklch */ color: oklch(83.3% 0.104 79.8);
Tailwind
colors: {
  custom: {
    50: '#f4d3a0',
    500: '#ecc178',
    950: '#000000',
  },
}
SCSS
$custom: #ecc178;
$custom-light: #f4d3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc178",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 120
  },
  "hsl": {
    "h": 37.759,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83315,
    "c": 0.10366,
    "h": 79.8
  },
  "luminance": 0.57329
}

Semantic roles & 50–950 ramp

primary
#ECC178
secondary
#4373C5
accent
#59D70E
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC178

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

Preview Lab → · Contrast checker → · Palette generator →

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