#ECD366#ECD366

#ECD366 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.6% C 0.132 H 96.6°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#ECD366
RGBrgb(236, 211, 102)
HSLhsl(49, 78%, 66%)
HSVhsv(49, 57%, 93%)
CMYKcmyk(0%, 10.6%, 56.8%, 7.5%)
CIE-LABlab(84.68, -4.37, 56.21)
CIE-LCHlch(84.68, 56.38, 94.44°)
OKLaboklab(86.65% -0.0151 0.1309)
OKLCHoklch(86.65% 0.132 96.6)
XYZxyz(60.2870, 65.3834, 22.0125)
Luminance0.6538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD366 #667FEC
analogous
#EC9066 #ECD366 #C2EC66
triadic
#ECD366 #66ECD3 #D366EC
tetradic
#ECD366 #66EC90 #667FEC #EC66C2
square
#ECD366 #66EC90 #667FEC #EC66C2
split-complementary
#ECD366 #66C2EC #9066EC
monochromatic
#C0A018 #E5C330 #ECD366 #F3E39C #FAF2D3

Accessibility & contrast

On white

1.49
#ECD366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#ECD366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD366
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD366#FFFFFF#000000##000000
##ECD3661.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF5B
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#FDC5BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd366;
/* rgb */ color: rgb(236, 211, 102);
/* oklch */ color: oklch(86.6% 0.132 96.6);
Tailwind
colors: {
  custom: {
    50: '#f5e095',
    500: '#ecd366',
    950: '#000000',
  },
}
SCSS
$custom: #ecd366;
$custom-light: #f5e095;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd366",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 48.806,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86648,
    "c": 0.13172,
    "h": 96.6
  },
  "luminance": 0.65381
}

Semantic roles & 50–950 ramp

primary
#ECD366
secondary
#3851BE
accent
#32DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD366

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

Preview Lab → · Contrast checker → · Palette generator →

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