#ECC787#ECC787

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

Color values

HEX#ECC787
RGBrgb(236, 199, 135)
HSLhsl(38, 73%, 73%)
HSVhsv(38, 43%, 93%)
CMYKcmyk(0%, 15.7%, 42.8%, 7.5%)
CIE-LABlab(82.07, 4.74, 36.88)
CIE-LCHlch(82.07, 37.18, 82.68°)
OKLaboklab(84.73% 0.0148 0.0905)
OKLCHoklch(84.73% 0.092 80.7)
XYZxyz(59.3905, 60.4318, 31.4532)
Luminance0.6043 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC787 #87ACEC
analogous
#EC9487 #ECC787 #DEEC87
triadic
#ECC787 #87ECC7 #C787EC
tetradic
#ECC787 #87EC94 #87ACEC #EC87DE
square
#ECC787 #87EC94 #87ACEC #EC87DE
split-complementary
#ECC787 #87DEEC #9487EC
monochromatic
#D79422 #E4AE52 #ECC787 #F4E0BC #FBF3E5

Accessibility & contrast

On white

1.60
#ECC787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#ECC787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC787
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC787#FFFFFF#000000##000000
##ECC7871.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecc787;
/* rgb */ color: rgb(236, 199, 135);
/* oklch */ color: oklch(84.7% 0.092 80.7);
Tailwind
colors: {
  custom: {
    50: '#f4d7aa',
    500: '#ecc787',
    950: '#000000',
  },
}
SCSS
$custom: #ecc787;
$custom-light: #f4d7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc787",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 135
  },
  "hsl": {
    "h": 38.02,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.84726,
    "c": 0.09166,
    "h": 80.7
  },
  "luminance": 0.60429
}

Semantic roles & 50–950 ramp

primary
#ECC787
secondary
#517CC6
accent
#59D511
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC787

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

Preview Lab → · Contrast checker → · Palette generator →

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