#ECC381#ECC381

#ECC381 is a very light, moderate orange. Relative luminance 0.584; OKLCH L 83.8% C 0.096 H 78.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#ECC381
RGBrgb(236, 195, 129)
HSLhsl(37, 74%, 72%)
HSVhsv(37, 45%, 93%)
CMYKcmyk(0%, 17.4%, 45.3%, 7.5%)
CIE-LABlab(80.99, 6.22, 38.56)
CIE-LCHlch(80.99, 39.06, 80.84°)
OKLaboklab(83.85% 0.0186 0.094)
OKLCHoklch(83.85% 0.096 78.8)
XYZxyz(58.0717, 58.4510, 28.9880)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC381 #81AAEC
analogous
#EC8E81 #ECC381 #E0EC81
triadic
#ECC381 #81ECC3 #C381EC
tetradic
#ECC381 #81EC8E #81AAEC #EC81E0
square
#ECC381 #81EC8E #81AAEC #EC81E0
split-complementary
#ECC381 #81E0EC #8E81EC
monochromatic
#D38E20 #E4AA4C #ECC381 #F4DCB6 #FBF2E4

Accessibility & contrast

On white

1.65
#ECC381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#ECC381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC381
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC381#FFFFFF#000000##000000
##ECC3811.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37C
Deuteranopia (green-blind)
#DECD83
Tritanopia (blue-blind)
#FCB7B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc381;
/* rgb */ color: rgb(236, 195, 129);
/* oklch */ color: oklch(83.8% 0.096 78.8);
Tailwind
colors: {
  custom: {
    50: '#f4d5a6',
    500: '#ecc381',
    950: '#000000',
  },
}
SCSS
$custom: #ecc381;
$custom-light: #f4d5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc381",
  "rgb": {
    "r": 236,
    "g": 195,
    "b": 129
  },
  "hsl": {
    "h": 37.009,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.83846,
    "c": 0.09584,
    "h": 78.8
  },
  "luminance": 0.58448
}

Semantic roles & 50–950 ramp

primary
#ECC381
secondary
#4B7AC6
accent
#5CD610
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC381

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

Preview Lab → · Contrast checker → · Palette generator →

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