#ECC462#ECC462

#ECC462 is a very light, vivid orange. Relative luminance 0.582; OKLCH L 83.6% C 0.125 H 87.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#ECC462
RGBrgb(236, 196, 98)
HSLhsl(43, 78%, 65%)
HSVhsv(43, 58%, 93%)
CMYKcmyk(0%, 16.9%, 58.5%, 7.5%)
CIE-LABlab(80.85, 3.06, 53.66)
CIE-LCHlch(80.85, 53.74, 86.74°)
OKLaboklab(83.61% 0.0059 0.1249)
OKLCHoklch(83.61% 0.125 87.3)
XYZxyz(56.5393, 58.1977, 19.8082)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC462 #628AEC
analogous
#EC7F62 #ECC462 #CFEC62
triadic
#ECC462 #62ECC4 #C462EC
tetradic
#ECC462 #62EC7F #628AEC #EC62CF
square
#ECC462 #62EC7F #628AEC #EC62CF
split-complementary
#ECC462 #62CFEC #7F62EC
monochromatic
#BD8D17 #E5AF2B #ECC462 #F3D999 #F9EDCF

Accessibility & contrast

On white

1.66
#ECC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#ECC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC462
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC462#FFFFFF#000000##000000
##ECC4621.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C258
Deuteranopia (green-blind)
#E1CD66
Tritanopia (blue-blind)
#FEB6AE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc462;
/* rgb */ color: rgb(236, 196, 98);
/* oklch */ color: oklch(83.6% 0.125 87.3);
Tailwind
colors: {
  custom: {
    50: '#f5d591',
    500: '#ecc462',
    950: '#000000',
  },
}
SCSS
$custom: #ecc462;
$custom-light: #f5d591;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc462",
  "rgb": {
    "r": 236,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 42.609,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83609,
    "c": 0.12504,
    "h": 87.3
  },
  "luminance": 0.58195
}

Semantic roles & 50–950 ramp

primary
#ECC462
secondary
#375DBC
accent
#47DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECC462

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

Preview Lab → · Contrast checker → · Palette generator →

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