#ECC781#ECC781

#ECC781 is a very light, moderate orange. Relative luminance 0.603; OKLCH L 84.6% C 0.098 H 82.6°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#ECC781
RGBrgb(236, 199, 129)
HSLhsl(39, 74%, 72%)
HSVhsv(39, 45%, 93%)
CMYKcmyk(0%, 15.7%, 45.3%, 7.5%)
CIE-LABlab(81.98, 4.13, 39.83)
CIE-LCHlch(81.98, 40.04, 84.08°)
OKLaboklab(84.63% 0.0125 0.0969)
OKLCHoklch(84.63% 0.098 82.6)
XYZxyz(58.9799, 60.2675, 29.2907)
Luminance0.6027 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC781 #81A6EC
analogous
#EC9281 #ECC781 #DCEC81
triadic
#ECC781 #81ECC7 #C781EC
tetradic
#ECC781 #81EC92 #81A6EC #EC81DC
square
#ECC781 #81EC92 #81A6EC #EC81DC
split-complementary
#ECC781 #81DCEC #9281EC
monochromatic
#D39520 #E4AF4C #ECC781 #F4DFB6 #FBF3E4

Accessibility & contrast

On white

1.61
#ECC781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#ECC781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC781
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC781#FFFFFF#000000##000000
##ECC7811.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C67C
Deuteranopia (green-blind)
#E1D083
Tritanopia (blue-blind)
#FCBBB6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc781;
/* rgb */ color: rgb(236, 199, 129);
/* oklch */ color: oklch(84.6% 0.098 82.6);
Tailwind
colors: {
  custom: {
    50: '#f4d7a6',
    500: '#ecc781',
    950: '#000000',
  },
}
SCSS
$custom: #ecc781;
$custom-light: #f4d7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc781",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 129
  },
  "hsl": {
    "h": 39.252,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.84627,
    "c": 0.09771,
    "h": 82.6
  },
  "luminance": 0.60265
}

Semantic roles & 50–950 ramp

primary
#ECC781
secondary
#4B76C6
accent
#54D610
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC781

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

Preview Lab → · Contrast checker → · Palette generator →

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