#ECEC60#ECEC60

#ECEC60 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.7% C 0.160 H 109.2°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#ECEC60
RGBrgb(236, 236, 96)
HSLhsl(60, 79%, 65%)
HSVhsv(60, 59%, 93%)
CMYKcmyk(0%, 0%, 59.3%, 7.5%)
CIE-LABlab(91.08, -17.25, 65.98)
CIE-LCHlch(91.08, 68.19, 104.65°)
OKLaboklab(91.72% -0.0525 0.151)
OKLCHoklch(91.72% 0.16 109.2)
XYZxyz(66.7008, 78.6701, 22.7353)
Luminance0.7867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC60 #6060EC
analogous
#ECA660 #ECEC60 #A6EC60
triadic
#ECEC60 #60ECEC #EC60EC
tetradic
#ECEC60 #60ECA6 #6060EC #EC60A6
square
#ECEC60 #60ECA6 #6060EC #EC60A6
split-complementary
#ECEC60 #60A6EC #A660EC
monochromatic
#BBBB16 #E5E529 #ECEC60 #F3F397 #F9F9CD

Accessibility & contrast

On white

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

On black

16.73
#ECEC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC60
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC60#FFFFFF#000000##000000
##ECEC601.001.2516.7316.73
#FFFFFF1.251.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE350
Deuteranopia (green-blind)
#FFE868
Tritanopia (blue-blind)
#FBDECE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ecec60;
/* rgb */ color: rgb(236, 236, 96);
/* oklch */ color: oklch(91.7% 0.160 109.2);
Tailwind
colors: {
  custom: {
    50: '#f5f193',
    500: '#ecec60',
    950: '#000000',
  },
}
SCSS
$custom: #ecec60;
$custom-light: #f5f193;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec60",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 96
  },
  "hsl": {
    "h": 60,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91719,
    "c": 0.15986,
    "h": 109.2
  },
  "luminance": 0.78668
}

Semantic roles & 50–950 ramp

primary
#ECEC60
secondary
#3636BA
accent
#0BDB0B
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #ECEC60

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

Preview Lab → · Contrast checker → · Palette generator →

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