#ECC796#ECC796

#ECC796 is a very light, moderate orange. Relative luminance 0.609; OKLCH L 85.0% C 0.076 H 74.3°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#ECC796
RGBrgb(236, 199, 150)
HSLhsl(34, 69%, 76%)
HSVhsv(34, 36%, 93%)
CMYKcmyk(0%, 15.7%, 36.4%, 7.5%)
CIE-LABlab(82.32, 6.38, 29.43)
CIE-LCHlch(82.32, 30.11, 77.77°)
OKLaboklab(85% 0.0207 0.0736)
OKLCHoklch(85% 0.076 74.3)
XYZxyz(60.5220, 60.8843, 37.4121)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC796 #96BBEC
analogous
#EC9C96 #ECC796 #E6EC96
triadic
#ECC796 #96ECC7 #C796EC
tetradic
#ECC796 #96EC9C #96BBEC #EC96E6
square
#ECC796 #96EC9C #96BBEC #EC96E6
split-complementary
#ECC796 #96E6EC #9C96EC
monochromatic
#D9902E #E3AB62 #ECC796 #F5E3CA #FAF1E5

Accessibility & contrast

On white

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

On black

13.18
#ECC796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC796
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC796#FFFFFF#000000##000000
##ECC7961.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C893
Deuteranopia (green-blind)
#DED097
Tritanopia (blue-blind)
#FABDBA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecc796;
/* rgb */ color: rgb(236, 199, 150);
/* oklch */ color: oklch(85.0% 0.076 74.3);
Tailwind
colors: {
  custom: {
    50: '#f3d7b5',
    500: '#ecc796',
    950: '#000000',
  },
}
SCSS
$custom: #ecc796;
$custom-light: #f3d7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc796",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 150
  },
  "hsl": {
    "h": 34.186,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.84997,
    "c": 0.07645,
    "h": 74.3
  },
  "luminance": 0.60882
}

Semantic roles & 50–950 ramp

primary
#ECC796
secondary
#5F8CC7
accent
#66D114
background
#FFFEFD
surface
#FEFBF8
border
#D6D4D1
text
#171411
muted
#858381

Preview Lab

Preview with #ECC796

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

Preview Lab → · Contrast checker → · Palette generator →

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