#ECC66F#ECC66F

#ECC66F is a very light, moderate orange. Relative luminance 0.594; OKLCH L 84.2% C 0.115 H 86.3°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#ECC66F
RGBrgb(236, 198, 111)
HSLhsl(42, 77%, 68%)
HSVhsv(42, 53%, 93%)
CMYKcmyk(0%, 16.1%, 53%, 7.5%)
CIE-LABlab(81.50, 3.02, 48.20)
CIE-LCHlch(81.50, 48.29, 86.41°)
OKLaboklab(84.17% 0.0074 0.1143)
OKLCHoklch(84.17% 0.115 86.3)
XYZxyz(57.6578, 59.3717, 23.4587)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC66F #6F95EC
analogous
#EC876F #ECC66F #D3EC6F
triadic
#ECC66F #6FECC6 #C66FEC
tetradic
#ECC66F #6FEC87 #6F95EC #EC6FD3
square
#ECC66F #6FEC87 #6F95EC #EC6FD3
split-complementary
#ECC66F #6FD3EC #876FEC
monochromatic
#C6921A #E5B139 #ECC66F #F3DBA5 #FAF1DB

Accessibility & contrast

On white

1.63
#ECC66F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#ECC66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC66F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC66F#FFFFFF#000000##000000
##ECC66F1.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C567
Deuteranopia (green-blind)
#E2CF72
Tritanopia (blue-blind)
#FDB9B2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc66f;
/* rgb */ color: rgb(236, 198, 111);
/* oklch */ color: oklch(84.2% 0.115 86.3);
Tailwind
colors: {
  custom: {
    50: '#f5d79a',
    500: '#ecc66f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc66f;
$custom-light: #f5d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc66f",
  "rgb": {
    "r": 236,
    "g": 198,
    "b": 111
  },
  "hsl": {
    "h": 41.76,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84166,
    "c": 0.11457,
    "h": 86.3
  },
  "luminance": 0.59369
}

Semantic roles & 50–950 ramp

primary
#ECC66F
secondary
#3B65C4
accent
#4BD90D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC66F

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

Preview Lab → · Contrast checker → · Palette generator →

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