#ECC56A#ECC56A

#ECC56A is a very light, moderate orange. Relative luminance 0.588; OKLCH L 83.9% C 0.119 H 86.5°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#ECC56A
RGBrgb(236, 197, 106)
HSLhsl(42, 77%, 67%)
HSVhsv(42, 55%, 93%)
CMYKcmyk(0%, 16.5%, 55.1%, 7.5%)
CIE-LABlab(81.19, 3.14, 50.25)
CIE-LCHlch(81.19, 50.35, 86.43°)
OKLaboklab(83.9% 0.0071 0.1184)
OKLCHoklch(83.9% 0.119 86.5)
XYZxyz(57.1623, 58.8091, 21.9733)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC56A #6A91EC
analogous
#EC846A #ECC56A #D2EC6A
triadic
#ECC56A #6AECC5 #C56AEC
tetradic
#ECC56A #6AEC84 #6A91EC #EC6AD2
square
#ECC56A #6AEC84 #6A91EC #EC6AD2
split-complementary
#ECC56A #6AD2EC #846AEC
monochromatic
#C39019 #E5B034 #ECC56A #F3DAA0 #FAEFD7

Accessibility & contrast

On white

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

On black

12.76
#ECC56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC56A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC56A#FFFFFF#000000##000000
##ECC56A1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C462
Deuteranopia (green-blind)
#E1CE6D
Tritanopia (blue-blind)
#FDB7B0
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc56a;
/* rgb */ color: rgb(236, 197, 106);
/* oklch */ color: oklch(83.9% 0.119 86.5);
Tailwind
colors: {
  custom: {
    50: '#f5d697',
    500: '#ecc56a',
    950: '#000000',
  },
}
SCSS
$custom: #ecc56a;
$custom-light: #f5d697;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc56a",
  "rgb": {
    "r": 236,
    "g": 197,
    "b": 106
  },
  "hsl": {
    "h": 42,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83904,
    "c": 0.11859,
    "h": 86.5
  },
  "luminance": 0.58806
}

Semantic roles & 50–950 ramp

primary
#ECC56A
secondary
#3962C1
accent
#4ADA0C
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC56A

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

Preview Lab → · Contrast checker → · Palette generator →

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