#ECB162#ECB162

#ECB162 is a light, moderate orange. Relative luminance 0.502; OKLCH L 79.9% C 0.118 H 72.7°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#ECB162
RGBrgb(236, 177, 98)
HSLhsl(34, 78%, 65%)
HSVhsv(34, 58%, 93%)
CMYKcmyk(0%, 25%, 58.5%, 7.5%)
CIE-LABlab(76.17, 13.02, 48.20)
CIE-LCHlch(76.17, 49.93, 74.88°)
OKLaboklab(79.94% 0.0351 0.1131)
OKLCHoklch(79.94% 0.118 72.7)
XYZxyz(52.5217, 50.1627, 18.4690)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB162 #629DEC
analogous
#EC6C62 #ECB162 #E2EC62
triadic
#ECB162 #62ECB1 #B162EC
tetradic
#ECB162 #62EC6C #629DEC #EC62E2
square
#ECB162 #62EC6C #629DEC #EC62E2
split-complementary
#ECB162 #62E2EC #6C62EC
monochromatic
#BD7617 #E5962B #ECB162 #F3CC99 #F9E7CF

Accessibility & contrast

On white

1.90
#ECB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#ECB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB162
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB162#FFFFFF#000000##000000
##ECB1621.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B45B
Deuteranopia (green-blind)
#D4C264
Tritanopia (blue-blind)
#FFA29F
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ecb162;
/* rgb */ color: rgb(236, 177, 98);
/* oklch */ color: oklch(79.9% 0.118 72.7);
Tailwind
colors: {
  custom: {
    50: '#f6c891',
    500: '#ecb162',
    950: '#000000',
  },
}
SCSS
$custom: #ecb162;
$custom-light: #f6c891;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb162",
  "rgb": {
    "r": 236,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 34.348,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79938,
    "c": 0.11841,
    "h": 72.7
  },
  "luminance": 0.50159
}

Semantic roles & 50–950 ramp

primary
#ECB162
secondary
#376FBC
accent
#64DB0B
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#18130D
muted
#86827F

Preview Lab

Preview with #ECB162

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

Preview Lab → · Contrast checker → · Palette generator →

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