#ECC562#ECC562

#ECC562 is a very light, vivid orange. Relative luminance 0.586; OKLCH L 83.8% C 0.126 H 88.0°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#ECC562
RGBrgb(236, 197, 98)
HSLhsl(43, 78%, 65%)
HSVhsv(43, 58%, 93%)
CMYKcmyk(0%, 16.5%, 58.5%, 7.5%)
CIE-LABlab(81.10, 2.54, 53.94)
CIE-LCHlch(81.10, 54.00, 87.31°)
OKLaboklab(83.81% 0.0044 0.1255)
OKLCHoklch(83.81% 0.126 88)
XYZxyz(56.7656, 58.6504, 19.8836)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC562 #6289EC
analogous
#EC8062 #ECC562 #CEEC62
triadic
#ECC562 #62ECC5 #C562EC
tetradic
#ECC562 #62EC80 #6289EC #EC62CE
square
#ECC562 #62EC80 #6289EC #EC62CE
split-complementary
#ECC562 #62CEEC #8062EC
monochromatic
#BD8E17 #E5B12B #ECC562 #F3D999 #F9EDCF

Accessibility & contrast

On white

1.65
#ECC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#ECC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC562
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC562#FFFFFF#000000##000000
##ECC5621.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C358
Deuteranopia (green-blind)
#E2CE66
Tritanopia (blue-blind)
#FEB7AF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc562;
/* rgb */ color: rgb(236, 197, 98);
/* oklch */ color: oklch(83.8% 0.126 88.0);
Tailwind
colors: {
  custom: {
    50: '#f5d692',
    500: '#ecc562',
    950: '#000000',
  },
}
SCSS
$custom: #ecc562;
$custom-light: #f5d692;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc562",
  "rgb": {
    "r": 236,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 43.043,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83807,
    "c": 0.1256,
    "h": 88
  },
  "luminance": 0.58647
}

Semantic roles & 50–950 ramp

primary
#ECC562
secondary
#375CBC
accent
#46DB0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #ECC562

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

Preview Lab → · Contrast checker → · Palette generator →

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