#ECC17D#ECC17D

#ECC17D is a very light, moderate orange. Relative luminance 0.575; OKLCH L 83.4% C 0.099 H 78.2°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#ECC17D
RGBrgb(236, 193, 125)
HSLhsl(37, 74%, 71%)
HSVhsv(37, 47%, 93%)
CMYKcmyk(0%, 18.2%, 47%, 7.5%)
CIE-LABlab(80.44, 6.88, 39.90)
CIE-LCHlch(80.44, 40.49, 80.22°)
OKLaboklab(83.39% 0.0202 0.0968)
OKLCHoklch(83.39% 0.099 78.2)
XYZxyz(57.3659, 57.4565, 27.4667)
Luminance0.5745 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC17D #7DA8EC
analogous
#EC897D #ECC17D #DFEC7D
triadic
#ECC17D #7DECC1 #C17DEC
tetradic
#ECC17D #7DEC89 #7DA8EC #EC7DDF
square
#ECC17D #7DEC89 #7DA8EC #EC7DDF
split-complementary
#ECC17D #7DDFEC #897DEC
monochromatic
#D08B1E #E4A848 #ECC17D #F4DAB2 #FBF2E4

Accessibility & contrast

On white

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

On black

12.49
#ECC17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC17D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC17D#FFFFFF#000000##000000
##ECC17D1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C178
Deuteranopia (green-blind)
#DDCC7F
Tritanopia (blue-blind)
#FCB5B0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ecc17d;
/* rgb */ color: rgb(236, 193, 125);
/* oklch */ color: oklch(83.4% 0.099 78.2);
Tailwind
colors: {
  custom: {
    50: '#f4d3a3',
    500: '#ecc17d',
    950: '#000000',
  },
}
SCSS
$custom: #ecc17d;
$custom-light: #f4d3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc17d",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 125
  },
  "hsl": {
    "h": 36.757,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.83393,
    "c": 0.09891,
    "h": 78.2
  },
  "luminance": 0.57453
}

Semantic roles & 50–950 ramp

primary
#ECC17D
secondary
#4878C5
accent
#5CD70F
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #ECC17D

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

Preview Lab → · Contrast checker → · Palette generator →

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