#ECC173#ECC173

#ECC173 is a very light, moderate orange. Relative luminance 0.572; OKLCH L 83.2% C 0.108 H 81.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#ECC173
RGBrgb(236, 193, 115)
HSLhsl(39, 76%, 69%)
HSVhsv(39, 51%, 93%)
CMYKcmyk(0%, 18.2%, 51.3%, 7.5%)
CIE-LABlab(80.30, 5.97, 44.77)
CIE-LCHlch(80.30, 45.17, 82.41°)
OKLaboklab(83.24% 0.0165 0.1071)
OKLCHoklch(83.24% 0.108 81.3)
XYZxyz(56.7589, 57.2137, 24.2701)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC173 #739EEC
analogous
#EC8573 #ECC173 #DBEC73
triadic
#ECC173 #73ECC1 #C173EC
tetradic
#ECC173 #73EC85 #739EEC #EC73DB
square
#ECC173 #73EC85 #739EEC #EC73DB
split-complementary
#ECC173 #73DBEC #8573EC
monochromatic
#C98B1B #E5A93D #ECC173 #F3D9A9 #FBF1DF

Accessibility & contrast

On white

1.69
#ECC173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#ECC173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC173
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC173#FFFFFF#000000##000000
##ECC1731.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16D
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#FDB4AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc173;
/* rgb */ color: rgb(236, 193, 115);
/* oklch */ color: oklch(83.2% 0.108 81.3);
Tailwind
colors: {
  custom: {
    50: '#f5d39d',
    500: '#ecc173',
    950: '#000000',
  },
}
SCSS
$custom: #ecc173;
$custom-light: #f5d39d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc173",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 115
  },
  "hsl": {
    "h": 38.678,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83242,
    "c": 0.10834,
    "h": 81.3
  },
  "luminance": 0.57211
}

Semantic roles & 50–950 ramp

primary
#ECC173
secondary
#3F6EC4
accent
#55D80D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC173

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

Preview Lab → · Contrast checker → · Palette generator →

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