#ECEC66#ECEC66

#ECEC66 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.8% C 0.155 H 109.1°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#ECEC66
RGBrgb(236, 236, 102)
HSLhsl(60, 78%, 66%)
HSVhsv(60, 57%, 93%)
CMYKcmyk(0%, 0%, 56.8%, 7.5%)
CIE-LABlab(91.14, -16.84, 63.49)
CIE-LCHlch(91.14, 65.69, 104.85°)
OKLaboklab(91.78% -0.0507 0.1465)
OKLCHoklch(91.78% 0.155 109.1)
XYZxyz(66.9877, 78.7849, 24.2461)
Luminance0.7878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC66 #6666EC
analogous
#ECA966 #ECEC66 #A9EC66
triadic
#ECEC66 #66ECEC #EC66EC
tetradic
#ECEC66 #66ECA9 #6666EC #EC66A9
square
#ECEC66 #66ECA9 #6666EC #EC66A9
split-complementary
#ECEC66 #66A9EC #A966EC
monochromatic
#C0C018 #E5E530 #ECEC66 #F3F39C #FAFAD3

Accessibility & contrast

On white

1.25
#ECEC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#ECEC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC66
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC66#FFFFFF#000000##000000
##ECEC661.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE357
Deuteranopia (green-blind)
#FFE86E
Tritanopia (blue-blind)
#FBDFCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ecec66;
/* rgb */ color: rgb(236, 236, 102);
/* oklch */ color: oklch(91.8% 0.155 109.1);
Tailwind
colors: {
  custom: {
    50: '#f5f196',
    500: '#ecec66',
    950: '#000000',
  },
}
SCSS
$custom: #ecec66;
$custom-light: #f5f196;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec66",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 102
  },
  "hsl": {
    "h": 60,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91777,
    "c": 0.155,
    "h": 109.1
  },
  "luminance": 0.78783
}

Semantic roles & 50–950 ramp

primary
#ECEC66
secondary
#3838BE
accent
#0BDA0B
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #ECEC66

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

Preview Lab → · Contrast checker → · Palette generator →

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