#ECC162#ECC162

#ECC162 is a very light, vivid orange. Relative luminance 0.569; OKLCH L 83.0% C 0.123 H 85.1°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#ECC162
RGBrgb(236, 193, 98)
HSLhsl(41, 78%, 65%)
HSVhsv(41, 58%, 93%)
CMYKcmyk(0%, 18.2%, 58.5%, 7.5%)
CIE-LABlab(80.10, 4.62, 52.79)
CIE-LCHlch(80.10, 52.99, 85.00°)
OKLaboklab(83.02% 0.0105 0.123)
OKLCHoklch(83.02% 0.123 85.1)
XYZxyz(55.8693, 56.8579, 19.5849)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC162 #628DEC
analogous
#EC7C62 #ECC162 #D2EC62
triadic
#ECC162 #62ECC1 #C162EC
tetradic
#ECC162 #62EC7C #628DEC #EC62D2
square
#ECC162 #62EC7C #628DEC #EC62D2
split-complementary
#ECC162 #62D2EC #7C62EC
monochromatic
#BD8917 #E5AB2B #ECC162 #F3D799 #F9ECCF

Accessibility & contrast

On white

1.70
#ECC162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#ECC162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC162
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC162#FFFFFF#000000##000000
##ECC1621.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DFCB65
Tritanopia (blue-blind)
#FEB3AB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc162;
/* rgb */ color: rgb(236, 193, 98);
/* oklch */ color: oklch(83.0% 0.123 85.1);
Tailwind
colors: {
  custom: {
    50: '#f5d391',
    500: '#ecc162',
    950: '#000000',
  },
}
SCSS
$custom: #ecc162;
$custom-light: #f5d391;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc162",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 41.304,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8302,
    "c": 0.12349,
    "h": 85.1
  },
  "luminance": 0.56855
}

Semantic roles & 50–950 ramp

primary
#ECC162
secondary
#3760BC
accent
#4CDB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECC162

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

Preview Lab → · Contrast checker → · Palette generator →

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