#ECC981#ECC981

#ECC981 is a very light, moderate orange. Relative luminance 0.612; OKLCH L 85.0% C 0.099 H 84.5°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#ECC981
RGBrgb(236, 201, 129)
HSLhsl(40, 74%, 72%)
HSVhsv(40, 45%, 93%)
CMYKcmyk(0%, 14.8%, 45.3%, 7.5%)
CIE-LABlab(82.48, 3.09, 40.46)
CIE-LCHlch(82.48, 40.58, 85.63°)
OKLaboklab(85.02% 0.0095 0.0983)
OKLCHoklch(85.02% 0.099 84.5)
XYZxyz(59.4431, 61.1939, 29.4451)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC981 #81A4EC
analogous
#EC9481 #ECC981 #DAEC81
triadic
#ECC981 #81ECC9 #C981EC
tetradic
#ECC981 #81EC94 #81A4EC #EC81DA
square
#ECC981 #81EC94 #81A4EC #EC81DA
split-complementary
#ECC981 #81DAEC #9481EC
monochromatic
#D39820 #E4B24C #ECC981 #F4E0B6 #FBF4E4

Accessibility & contrast

On white

1.59
#ECC981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#ECC981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC981
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC981#FFFFFF#000000##000000
##ECC9811.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC87B
Deuteranopia (green-blind)
#E2D183
Tritanopia (blue-blind)
#FCBDB7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecc981;
/* rgb */ color: rgb(236, 201, 129);
/* oklch */ color: oklch(85.0% 0.099 84.5);
Tailwind
colors: {
  custom: {
    50: '#f4d9a6',
    500: '#ecc981',
    950: '#000000',
  },
}
SCSS
$custom: #ecc981;
$custom-light: #f4d9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc981",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 40.374,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.8502,
    "c": 0.0988,
    "h": 84.5
  },
  "luminance": 0.61191
}

Semantic roles & 50–950 ramp

primary
#ECC981
secondary
#4B73C6
accent
#50D610
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC981

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

Preview Lab → · Contrast checker → · Palette generator →

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