#ECC87D#ECC87D

#ECC87D is a very light, moderate orange. Relative luminance 0.606; OKLCH L 84.8% C 0.102 H 84.7°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#ECC87D
RGBrgb(236, 200, 125)
HSLhsl(41, 74%, 71%)
HSVhsv(41, 47%, 93%)
CMYKcmyk(0%, 15.3%, 47%, 7.5%)
CIE-LABlab(82.18, 3.23, 42.10)
CIE-LCHlch(82.18, 42.22, 85.62°)
OKLaboklab(84.76% 0.0095 0.1018)
OKLCHoklch(84.76% 0.102 84.7)
XYZxyz(58.9501, 60.6249, 27.9947)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC87D #7DA1EC
analogous
#EC907D #ECC87D #D8EC7D
triadic
#ECC87D #7DECC8 #C87DEC
tetradic
#ECC87D #7DEC90 #7DA1EC #EC7DD8
square
#ECC87D #7DEC90 #7DA1EC #EC7DD8
split-complementary
#ECC87D #7DD8EC #907DEC
monochromatic
#D0971E #E4B148 #ECC87D #F4DFB2 #FBF4E4

Accessibility & contrast

On white

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

On black

13.12
#ECC87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC87D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC87D#FFFFFF#000000##000000
##ECC87D1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecc87d;
/* rgb */ color: rgb(236, 200, 125);
/* oklch */ color: oklch(84.8% 0.102 84.7);
Tailwind
colors: {
  custom: {
    50: '#f4d8a4',
    500: '#ecc87d',
    950: '#000000',
  },
}
SCSS
$custom: #ecc87d;
$custom-light: #f4d8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc87d",
  "rgb": {
    "r": 236,
    "g": 200,
    "b": 125
  },
  "hsl": {
    "h": 40.541,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.84761,
    "c": 0.10223,
    "h": 84.7
  },
  "luminance": 0.60622
}

Semantic roles & 50–950 ramp

primary
#ECC87D
secondary
#4871C5
accent
#50D70F
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC87D

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

Preview Lab → · Contrast checker → · Palette generator →

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