#ECC786#ECC786

#ECC786 is a very light, moderate orange. Relative luminance 0.604; OKLCH L 84.7% C 0.093 H 81.0°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#ECC786
RGBrgb(236, 199, 134)
HSLhsl(38, 73%, 73%)
HSVhsv(38, 43%, 93%)
CMYKcmyk(0%, 15.7%, 43.2%, 7.5%)
CIE-LABlab(82.06, 4.63, 37.37)
CIE-LCHlch(82.06, 37.66, 82.93°)
OKLaboklab(84.71% 0.0144 0.0915)
OKLCHoklch(84.71% 0.093 81)
XYZxyz(59.3204, 60.4037, 31.0841)
Luminance0.6040 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC786 #86ABEC
analogous
#EC9486 #ECC786 #DEEC86
triadic
#ECC786 #86ECC7 #C786EC
tetradic
#ECC786 #86EC94 #86ABEC #EC86DE
square
#ECC786 #86EC94 #86ABEC #EC86DE
split-complementary
#ECC786 #86DEEC #9486EC
monochromatic
#D69522 #E4AF51 #ECC786 #F4DFBB #FBF3E5

Accessibility & contrast

On white

1.61
#ECC786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#ECC786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC786
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC786#FFFFFF#000000##000000
##ECC7861.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C781
Deuteranopia (green-blind)
#E0D088
Tritanopia (blue-blind)
#FBBCB7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc786;
/* rgb */ color: rgb(236, 199, 134);
/* oklch */ color: oklch(84.7% 0.093 81.0);
Tailwind
colors: {
  custom: {
    50: '#f4d7aa',
    500: '#ecc786',
    950: '#000000',
  },
}
SCSS
$custom: #ecc786;
$custom-light: #f4d7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc786",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 134
  },
  "hsl": {
    "h": 38.235,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.84709,
    "c": 0.09267,
    "h": 81
  },
  "luminance": 0.60401
}

Semantic roles & 50–950 ramp

primary
#ECC786
secondary
#507BC6
accent
#58D511
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC786

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

Preview Lab → · Contrast checker → · Palette generator →

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