#ECC87F#ECC87F

#ECC87F is a very light, moderate orange. Relative luminance 0.607; OKLCH L 84.8% C 0.100 H 84.1°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#ECC87F
RGBrgb(236, 200, 127)
HSLhsl(40, 74%, 71%)
HSVhsv(40, 46%, 93%)
CMYKcmyk(0%, 15.3%, 46.2%, 7.5%)
CIE-LABlab(82.20, 3.42, 41.12)
CIE-LCHlch(82.20, 41.26, 85.25°)
OKLaboklab(84.79% 0.0102 0.0997)
OKLCHoklch(84.79% 0.1 84.1)
XYZxyz(59.0791, 60.6765, 28.6744)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC87F #7FA3EC
analogous
#EC917F #ECC87F #DAEC7F
triadic
#ECC87F #7FECC8 #C87FEC
tetradic
#ECC87F #7FEC91 #7FA3EC #EC7FDA
square
#ECC87F #7FEC91 #7FA3EC #EC7FDA
split-complementary
#ECC87F #7FDAEC #917FEC
monochromatic
#D2971F #E4B14A #ECC87F #F4DFB4 #FBF4E4

Accessibility & contrast

On white

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

On black

13.13
#ECC87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC87F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC87F#FFFFFF#000000##000000
##ECC87F1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C779
Deuteranopia (green-blind)
#E2D081
Tritanopia (blue-blind)
#FCBCB6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc87f;
/* rgb */ color: rgb(236, 200, 127);
/* oklch */ color: oklch(84.8% 0.100 84.1);
Tailwind
colors: {
  custom: {
    50: '#f4d8a5',
    500: '#ecc87f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc87f;
$custom-light: #f4d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc87f",
  "rgb": {
    "r": 236,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 40.183,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.84792,
    "c": 0.10024,
    "h": 84.1
  },
  "luminance": 0.60674
}

Semantic roles & 50–950 ramp

primary
#ECC87F
secondary
#4A73C6
accent
#51D60F
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC87F

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

Preview Lab → · Contrast checker → · Palette generator →

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