#ECC478#ECC478

#ECC478 is a very light, moderate orange. Relative luminance 0.587; OKLCH L 83.9% C 0.105 H 82.5°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#ECC478
RGBrgb(236, 196, 120)
HSLhsl(39, 75%, 70%)
HSVhsv(39, 49%, 93%)
CMYKcmyk(0%, 16.9%, 49.2%, 7.5%)
CIE-LABlab(81.11, 4.84, 43.27)
CIE-LCHlch(81.11, 43.54, 83.61°)
OKLaboklab(83.9% 0.0137 0.1041)
OKLCHoklch(83.9% 0.105 82.5)
XYZxyz(57.7244, 58.6718, 26.0499)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC478 #78A0EC
analogous
#EC8A78 #ECC478 #DAEC78
triadic
#ECC478 #78ECC4 #C478EC
tetradic
#ECC478 #78EC8A #78A0EC #EC78DA
square
#ECC478 #78EC8A #78A0EC #EC78DA
split-complementary
#ECC478 #78DAEC #8A78EC
monochromatic
#CD901D #E4AD42 #ECC478 #F4DBAE #FBF3E3

Accessibility & contrast

On white

1.65
#ECC478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#ECC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC478
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC478#FFFFFF#000000##000000
##ECC4781.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C372
Deuteranopia (green-blind)
#DFCE7A
Tritanopia (blue-blind)
#FCB7B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc478;
/* rgb */ color: rgb(236, 196, 120);
/* oklch */ color: oklch(83.9% 0.105 82.5);
Tailwind
colors: {
  custom: {
    50: '#f4d5a0',
    500: '#ecc478',
    950: '#000000',
  },
}
SCSS
$custom: #ecc478;
$custom-light: #f4d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc478",
  "rgb": {
    "r": 236,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 39.31,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.839,
    "c": 0.10501,
    "h": 82.5
  },
  "luminance": 0.58669
}

Semantic roles & 50–950 ramp

primary
#ECC478
secondary
#4370C5
accent
#53D70E
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC478

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

Preview Lab → · Contrast checker → · Palette generator →

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