#ECD166#ECD166

#ECD166 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.2% C 0.130 H 95.4°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#ECD166
RGBrgb(236, 209, 102)
HSLhsl(48, 78%, 66%)
HSVhsv(48, 57%, 93%)
CMYKcmyk(0%, 11.4%, 56.8%, 7.5%)
CIE-LABlab(84.17, -3.35, 55.62)
CIE-LCHlch(84.17, 55.72, 93.45°)
OKLaboklab(86.25% -0.0121 0.1296)
OKLCHoklch(86.25% 0.13 95.4)
XYZxyz(59.7932, 64.3958, 21.8479)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD166 #6681EC
analogous
#EC8E66 #ECD166 #C4EC66
triadic
#ECD166 #66ECD1 #D166EC
tetradic
#ECD166 #66EC8E #6681EC #EC66C4
square
#ECD166 #66EC8E #6681EC #EC66C4
split-complementary
#ECD166 #66C4EC #8E66EC
monochromatic
#C09E18 #E5C130 #ECD166 #F3E19C #FAF2D3

Accessibility & contrast

On white

1.51
#ECD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#ECD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD166
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD166#FFFFFF#000000##000000
##ECD1661.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD5C
Deuteranopia (green-blind)
#EAD66B
Tritanopia (blue-blind)
#FDC3B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd166;
/* rgb */ color: rgb(236, 209, 102);
/* oklch */ color: oklch(86.2% 0.130 95.4);
Tailwind
colors: {
  custom: {
    50: '#f5de95',
    500: '#ecd166',
    950: '#000000',
  },
}
SCSS
$custom: #ecd166;
$custom-light: #f5de95;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd166",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 47.91,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86245,
    "c": 0.13016,
    "h": 95.4
  },
  "luminance": 0.64393
}

Semantic roles & 50–950 ramp

primary
#ECD166
secondary
#3853BE
accent
#35DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD166

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

Preview Lab → · Contrast checker → · Palette generator →

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