#ECB662#ECB662

#ECB662 is a light, moderate orange. Relative luminance 0.522; OKLCH L 80.9% C 0.119 H 76.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#ECB662
RGBrgb(236, 182, 98)
HSLhsl(37, 78%, 65%)
HSVhsv(37, 58%, 93%)
CMYKcmyk(0%, 22.9%, 58.5%, 7.5%)
CIE-LABlab(77.38, 10.38, 49.63)
CIE-LCHlch(77.38, 50.71, 78.18°)
OKLaboklab(80.89% 0.0274 0.1162)
OKLCHoklch(80.89% 0.119 76.7)
XYZxyz(53.5275, 52.1742, 18.8042)
Luminance0.5217 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECB662 #6298EC
analogous
#EC7162 #ECB662 #DDEC62
triadic
#ECB662 #62ECB6 #B662EC
tetradic
#ECB662 #62EC71 #6298EC #EC62DD
square
#ECB662 #62EC71 #6298EC #EC62DD
split-complementary
#ECB662 #62DDEC #7162EC
monochromatic
#BD7C17 #E59D2B #ECB662 #F3CF99 #F9E9CF

Accessibility & contrast

On white

1.84
#ECB662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#ECB662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECB662
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECB662#FFFFFF#000000##000000
##ECB6621.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB75A
Deuteranopia (green-blind)
#D7C564
Tritanopia (blue-blind)
#FEA7A3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ecb662;
/* rgb */ color: rgb(236, 182, 98);
/* oklch */ color: oklch(80.9% 0.119 76.7);
Tailwind
colors: {
  custom: {
    50: '#f5cb91',
    500: '#ecb662',
    950: '#000000',
  },
}
SCSS
$custom: #ecb662;
$custom-light: #f5cb91;
$custom-dark: #000000;
JSON
{
  "hex": "#ecb662",
  "rgb": {
    "r": 236,
    "g": 182,
    "b": 98
  },
  "hsl": {
    "h": 36.522,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80889,
    "c": 0.11937,
    "h": 76.7
  },
  "luminance": 0.52171
}

Semantic roles & 50–950 ramp

primary
#ECB662
secondary
#376BBC
accent
#5CDB0B
background
#FFFDFC
surface
#FFF9F4
border
#D7D2CE
text
#18130D
muted
#86827F

Preview Lab

Preview with #ECB662

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

Preview Lab → · Contrast checker → · Palette generator →

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