#ECC962#ECC962

#ECC962 is a very light, vivid orange. Relative luminance 0.605; OKLCH L 84.6% C 0.128 H 90.7°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#ECC962
RGBrgb(236, 201, 98)
HSLhsl(45, 78%, 65%)
HSVhsv(45, 58%, 93%)
CMYKcmyk(0%, 14.8%, 58.5%, 7.5%)
CIE-LABlab(82.10, 0.47, 55.10)
CIE-LCHlch(82.10, 55.10, 89.51°)
OKLaboklab(84.6% -0.0016 0.128)
OKLCHoklch(84.6% 0.128 90.7)
XYZxyz(57.6859, 60.4910, 20.1904)
Luminance0.6049 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC962 #6285EC
analogous
#EC8462 #ECC962 #CAEC62
triadic
#ECC962 #62ECC9 #C962EC
tetradic
#ECC962 #62EC84 #6285EC #EC62CA
square
#ECC962 #62EC84 #6285EC #EC62CA
split-complementary
#ECC962 #62CAEC #8462EC
monochromatic
#BD9317 #E5B62B #ECC962 #F3DC99 #F9EFCF

Accessibility & contrast

On white

1.60
#ECC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#ECC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC962
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC962#FFFFFF#000000##000000
##ECC9621.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#E5D066
Tritanopia (blue-blind)
#FDBBB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc962;
/* rgb */ color: rgb(236, 201, 98);
/* oklch */ color: oklch(84.6% 0.128 90.7);
Tailwind
colors: {
  custom: {
    50: '#f5d992',
    500: '#ecc962',
    950: '#000000',
  },
}
SCSS
$custom: #ecc962;
$custom-light: #f5d992;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc962",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 44.783,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.84599,
    "c": 0.12802,
    "h": 90.7
  },
  "luminance": 0.60488
}

Semantic roles & 50–950 ramp

primary
#ECC962
secondary
#3758BC
accent
#40DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #ECC962

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

Preview Lab → · Contrast checker → · Palette generator →

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