#ECC66D#ECC66D

#ECC66D is a very light, moderate orange. Relative luminance 0.593; OKLCH L 84.1% C 0.116 H 86.7°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#ECC66D
RGBrgb(236, 198, 109)
HSLhsl(42, 77%, 68%)
HSVhsv(42, 54%, 93%)
CMYKcmyk(0%, 16.1%, 53.8%, 7.5%)
CIE-LABlab(81.47, 2.86, 49.14)
CIE-LCHlch(81.47, 49.22, 86.67°)
OKLaboklab(84.14% 0.0067 0.1162)
OKLCHoklch(84.14% 0.116 86.7)
XYZxyz(57.5489, 59.3282, 22.8853)
Luminance0.5933 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC66D #6D93EC
analogous
#EC866D #ECC66D #D3EC6D
triadic
#ECC66D #6DECC6 #C66DEC
tetradic
#ECC66D #6DEC86 #6D93EC #EC6DD3
square
#ECC66D #6DEC86 #6D93EC #EC6DD3
split-complementary
#ECC66D #6DD3EC #866DEC
monochromatic
#C5921A #E5B137 #ECC66D #F3DBA3 #FAF0D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC66D#FFFFFF#000000##000000
##ECC66D1.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)
#D9C565
Deuteranopia (green-blind)
#E2CF70
Tritanopia (blue-blind)
#FDB9B1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc66d;
/* rgb */ color: rgb(236, 198, 109);
/* oklch */ color: oklch(84.1% 0.116 86.7);
Tailwind
colors: {
  custom: {
    50: '#f5d799',
    500: '#ecc66d',
    950: '#000000',
  },
}
SCSS
$custom: #ecc66d;
$custom-light: #f5d799;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc66d",
  "rgb": {
    "r": 236,
    "g": 198,
    "b": 109
  },
  "hsl": {
    "h": 42.047,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84139,
    "c": 0.11642,
    "h": 86.7
  },
  "luminance": 0.59325
}

Semantic roles & 50–950 ramp

primary
#ECC66D
secondary
#3A63C3
accent
#4AD90C
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC66D

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

Preview Lab → · Contrast checker → · Palette generator →

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