#ECCD66#ECCD66

#ECCD66 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.4% C 0.127 H 92.8°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#ECCD66
RGBrgb(236, 205, 102)
HSLhsl(46, 78%, 66%)
HSVhsv(46, 57%, 93%)
CMYKcmyk(0%, 13.1%, 56.8%, 7.5%)
CIE-LABlab(83.16, -1.30, 54.45)
CIE-LCHlch(83.16, 54.47, 91.37°)
OKLaboklab(85.44% -0.0062 0.1271)
OKLCHoklch(85.44% 0.127 92.8)
XYZxyz(58.8241, 62.4577, 21.5249)
Luminance0.6246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD66 #6685EC
analogous
#EC8A66 #ECCD66 #C8EC66
triadic
#ECCD66 #66ECCD #CD66EC
tetradic
#ECCD66 #66EC8A #6685EC #EC66C8
square
#ECCD66 #66EC8A #6685EC #EC66C8
split-complementary
#ECCD66 #66C8EC #8A66EC
monochromatic
#C09918 #E5BB30 #ECCD66 #F3DF9C #FAF1D3

Accessibility & contrast

On white

1.56
#ECCD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#ECCD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD66
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD66#FFFFFF#000000##000000
##ECCD661.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#E8D36A
Tritanopia (blue-blind)
#FDBFB6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd66;
/* rgb */ color: rgb(236, 205, 102);
/* oklch */ color: oklch(85.4% 0.127 92.8);
Tailwind
colors: {
  custom: {
    50: '#f5dc95',
    500: '#eccd66',
    950: '#000000',
  },
}
SCSS
$custom: #eccd66;
$custom-light: #f5dc95;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd66",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 46.119,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85443,
    "c": 0.12722,
    "h": 92.8
  },
  "luminance": 0.62455
}

Semantic roles & 50–950 ramp

primary
#ECCD66
secondary
#3857BE
accent
#3BDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECCD66

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

Preview Lab → · Contrast checker → · Palette generator →

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