#ECC980#ECC980

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

Color values

HEX#ECC980
RGBrgb(236, 201, 128)
HSLhsl(41, 74%, 71%)
HSVhsv(41, 46%, 93%)
CMYKcmyk(0%, 14.8%, 45.8%, 7.5%)
CIE-LABlab(82.47, 2.99, 40.95)
CIE-LCHlch(82.47, 41.06, 85.82°)
OKLaboklab(85% 0.0091 0.0994)
OKLCHoklch(85% 0.1 84.8)
XYZxyz(59.3770, 61.1675, 29.0968)
Luminance0.6117 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC980 #80A3EC
analogous
#EC9380 #ECC980 #D9EC80
triadic
#ECC980 #80ECC9 #C980EC
tetradic
#ECC980 #80EC93 #80A3EC #EC80D9
square
#ECC980 #80EC93 #80A3EC #EC80D9
split-complementary
#ECC980 #80D9EC #9380EC
monochromatic
#D2981F #E4B24B #ECC980 #F4E0B5 #FBF4E4

Accessibility & contrast

On white

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

On black

13.23
#ECC980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC980
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC980#FFFFFF#000000##000000
##ECC9801.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecc980;
/* rgb */ color: rgb(236, 201, 128);
/* oklch */ color: oklch(85.0% 0.100 84.8);
Tailwind
colors: {
  custom: {
    50: '#f4d9a6',
    500: '#ecc980',
    950: '#000000',
  },
}
SCSS
$custom: #ecc980;
$custom-light: #f4d9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc980",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 128
  },
  "hsl": {
    "h": 40.556,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85004,
    "c": 0.09981,
    "h": 84.8
  },
  "luminance": 0.61165
}

Semantic roles & 50–950 ramp

primary
#ECC980
secondary
#4B72C6
accent
#50D60F
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC980

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

Preview Lab → · Contrast checker → · Palette generator →

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