#ECC982#ECC982

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

Color values

HEX#ECC982
RGBrgb(236, 201, 130)
HSLhsl(40, 74%, 72%)
HSVhsv(40, 45%, 93%)
CMYKcmyk(0%, 14.8%, 44.9%, 7.5%)
CIE-LABlab(82.50, 3.19, 39.98)
CIE-LCHlch(82.50, 40.10, 85.44°)
OKLaboklab(85.04% 0.0099 0.0973)
OKLCHoklch(85.04% 0.098 84.2)
XYZxyz(59.5099, 61.2206, 29.7969)
Luminance0.6122 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC982 #82A5EC
analogous
#EC9482 #ECC982 #DAEC82
triadic
#ECC982 #82ECC9 #C982EC
tetradic
#ECC982 #82EC94 #82A5EC #EC82DA
square
#ECC982 #82EC94 #82A5EC #EC82DA
split-complementary
#ECC982 #82DAEC #9482EC
monochromatic
#D39820 #E4B24D #ECC982 #F4E0B7 #FBF4E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC982#FFFFFF#000000##000000
##ECC9821.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)
#D9C87D
Deuteranopia (green-blind)
#E2D184
Tritanopia (blue-blind)
#FBBDB7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecc982;
/* rgb */ color: rgb(236, 201, 130);
/* oklch */ color: oklch(85.0% 0.098 84.2);
Tailwind
colors: {
  custom: {
    50: '#f4d9a7',
    500: '#ecc982',
    950: '#000000',
  },
}
SCSS
$custom: #ecc982;
$custom-light: #f4d9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc982",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 130
  },
  "hsl": {
    "h": 40.189,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85036,
    "c": 0.09778,
    "h": 84.2
  },
  "luminance": 0.61218
}

Semantic roles & 50–950 ramp

primary
#ECC982
secondary
#4C74C6
accent
#51D610
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC982

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

Preview Lab → · Contrast checker → · Palette generator →

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