#ECC987#ECC987

#ECC987 is a very light, moderate orange. Relative luminance 0.614; OKLCH L 85.1% C 0.093 H 82.7°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#ECC987
RGBrgb(236, 201, 135)
HSLhsl(39, 73%, 73%)
HSVhsv(39, 43%, 93%)
CMYKcmyk(0%, 14.8%, 42.8%, 7.5%)
CIE-LABlab(82.57, 3.69, 37.52)
CIE-LCHlch(82.57, 37.71, 84.38°)
OKLaboklab(85.12% 0.0118 0.0919)
OKLCHoklch(85.12% 0.093 82.7)
XYZxyz(59.8537, 61.3581, 31.6075)
Luminance0.6136 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC987 #87AAEC
analogous
#EC9687 #ECC987 #DCEC87
triadic
#ECC987 #87ECC9 #C987EC
tetradic
#ECC987 #87EC96 #87AAEC #EC87DC
square
#ECC987 #87EC96 #87AAEC #EC87DC
split-complementary
#ECC987 #87DCEC #9687EC
monochromatic
#D79822 #E4B152 #ECC987 #F4E1BC #FBF3E5

Accessibility & contrast

On white

1.58
#ECC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#ECC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC987
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC987#FFFFFF#000000##000000
##ECC9871.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C882
Deuteranopia (green-blind)
#E1D189
Tritanopia (blue-blind)
#FBBEB8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecc987;
/* rgb */ color: rgb(236, 201, 135);
/* oklch */ color: oklch(85.1% 0.093 82.7);
Tailwind
colors: {
  custom: {
    50: '#f4d9ab',
    500: '#ecc987',
    950: '#000000',
  },
}
SCSS
$custom: #ecc987;
$custom-light: #f4d9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc987",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 39.208,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.85118,
    "c": 0.09268,
    "h": 82.7
  },
  "luminance": 0.61355
}

Semantic roles & 50–950 ramp

primary
#ECC987
secondary
#517AC6
accent
#55D511
background
#FFFEFD
surface
#FFFBF7
border
#D7D4D0
text
#171410
muted
#858381

Preview Lab

Preview with #ECC987

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

Preview Lab → · Contrast checker → · Palette generator →

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