#ECC56F#ECC56F

#ECC56F is a very light, moderate orange. Relative luminance 0.589; OKLCH L 84.0% C 0.114 H 85.5°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#ECC56F
RGBrgb(236, 197, 111)
HSLhsl(41, 77%, 68%)
HSVhsv(41, 53%, 93%)
CMYKcmyk(0%, 16.5%, 53%, 7.5%)
CIE-LABlab(81.25, 3.54, 47.90)
CIE-LCHlch(81.25, 48.03, 85.77°)
OKLaboklab(83.97% 0.0089 0.1137)
OKLCHoklch(83.97% 0.114 85.5)
XYZxyz(57.4300, 58.9161, 23.3828)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC56F #6F96EC
analogous
#EC866F #ECC56F #D4EC6F
triadic
#ECC56F #6FECC5 #C56FEC
tetradic
#ECC56F #6FEC86 #6F96EC #EC6FD4
square
#ECC56F #6FEC86 #6F96EC #EC6FD4
split-complementary
#ECC56F #6FD4EC #866FEC
monochromatic
#C6911A #E5AF39 #ECC56F #F3DBA5 #FAF1DB

Accessibility & contrast

On white

1.64
#ECC56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#ECC56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC56F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC56F#FFFFFF#000000##000000
##ECC56F1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C468
Deuteranopia (green-blind)
#E1CE72
Tritanopia (blue-blind)
#FDB8B1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc56f;
/* rgb */ color: rgb(236, 197, 111);
/* oklch */ color: oklch(84.0% 0.114 85.5);
Tailwind
colors: {
  custom: {
    50: '#f5d69a',
    500: '#ecc56f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc56f;
$custom-light: #f5d69a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc56f",
  "rgb": {
    "r": 236,
    "g": 197,
    "b": 111
  },
  "hsl": {
    "h": 41.28,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83969,
    "c": 0.11402,
    "h": 85.5
  },
  "luminance": 0.58913
}

Semantic roles & 50–950 ramp

primary
#ECC56F
secondary
#3B66C4
accent
#4CD90D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC56F

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

Preview Lab → · Contrast checker → · Palette generator →

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