#ECD866#ECD866

#ECD866 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.7% C 0.136 H 99.5°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#ECD866
RGBrgb(236, 216, 102)
HSLhsl(51, 78%, 66%)
HSVhsv(51, 57%, 93%)
CMYKcmyk(0%, 8.5%, 56.8%, 7.5%)
CIE-LABlab(85.96, -6.90, 57.67)
CIE-LCHlch(85.96, 58.08, 96.83°)
OKLaboklab(87.66% -0.0224 0.134)
OKLCHoklch(87.66% 0.136 99.5)
XYZxyz(61.5485, 67.9064, 22.4330)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD866 #667AEC
analogous
#EC9566 #ECD866 #BDEC66
triadic
#ECD866 #66ECD8 #D866EC
tetradic
#ECD866 #66EC95 #667AEC #EC66BD
square
#ECD866 #66EC95 #667AEC #EC66BD
split-complementary
#ECD866 #66BDEC #9566EC
monochromatic
#C0A718 #E5CA30 #ECD866 #F3E69C #FAF4D3

Accessibility & contrast

On white

1.44
#ECD866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#ECD866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD866
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD866#FFFFFF#000000##000000
##ECD8661.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35B
Deuteranopia (green-blind)
#F0DA6B
Tritanopia (blue-blind)
#FCCABF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd866;
/* rgb */ color: rgb(236, 216, 102);
/* oklch */ color: oklch(87.7% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#f5e395',
    500: '#ecd866',
    950: '#000000',
  },
}
SCSS
$custom: #ecd866;
$custom-light: #f5e395;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd866",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 51.045,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.87661,
    "c": 0.13586,
    "h": 99.5
  },
  "luminance": 0.67904
}

Semantic roles & 50–950 ramp

primary
#ECD866
secondary
#384CBE
accent
#2ADA0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD866

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

Preview Lab → · Contrast checker → · Palette generator →

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