#ECC17A#ECC17A

#ECC17A is a very light, moderate orange. Relative luminance 0.574; OKLCH L 83.3% C 0.102 H 79.2°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#ECC17A
RGBrgb(236, 193, 122)
HSLhsl(37, 75%, 70%)
HSVhsv(37, 48%, 93%)
CMYKcmyk(0%, 18.2%, 48.3%, 7.5%)
CIE-LABlab(80.39, 6.59, 41.37)
CIE-LCHlch(80.39, 41.89, 80.94°)
OKLaboklab(83.35% 0.0191 0.1)
OKLCHoklch(83.35% 0.102 79.2)
XYZxyz(57.1771, 57.3810, 26.4726)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC17A #7AA5EC
analogous
#EC887A #ECC17A #DEEC7A
triadic
#ECC17A #7AECC1 #C17AEC
tetradic
#ECC17A #7AEC88 #7AA5EC #EC7ADE
square
#ECC17A #7AEC88 #7AA5EC #EC7ADE
split-complementary
#ECC17A #7ADEEC #887AEC
monochromatic
#CE8B1D #E4A844 #ECC17A #F4DAB0 #FBF3E4

Accessibility & contrast

On white

1.68
#ECC17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#ECC17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC17A
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC17A#FFFFFF#000000##000000
##ECC17A1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C174
Deuteranopia (green-blind)
#DDCC7C
Tritanopia (blue-blind)
#FCB5B0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc17a;
/* rgb */ color: rgb(236, 193, 122);
/* oklch */ color: oklch(83.3% 0.102 79.2);
Tailwind
colors: {
  custom: {
    50: '#f4d3a1',
    500: '#ecc17a',
    950: '#000000',
  },
}
SCSS
$custom: #ecc17a;
$custom-light: #f4d3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc17a",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 122
  },
  "hsl": {
    "h": 37.368,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83346,
    "c": 0.10177,
    "h": 79.2
  },
  "luminance": 0.57378
}

Semantic roles & 50–950 ramp

primary
#ECC17A
secondary
#4575C5
accent
#5AD70E
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC17A

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

Preview Lab → · Contrast checker → · Palette generator →

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