#ECEC58#ECEC58

#ECEC58 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.6% C 0.166 H 109.3°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#ECEC58
RGBrgb(236, 236, 88)
HSLhsl(60, 80%, 64%)
HSVhsv(60, 63%, 93%)
CMYKcmyk(0%, 0%, 62.7%, 7.5%)
CIE-LABlab(91.02, -17.75, 69.16)
CIE-LCHlch(91.02, 71.40, 104.39°)
OKLaboklab(91.65% -0.0548 0.1566)
OKLCHoklch(91.65% 0.166 109.3)
XYZxyz(66.3511, 78.5302, 20.8933)
Luminance0.7853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC58 #5858EC
analogous
#ECA258 #ECEC58 #A2EC58
triadic
#ECEC58 #58ECEC #EC58EC
tetradic
#ECEC58 #58ECA2 #5858EC #EC58A2
square
#ECEC58 #58ECA2 #5858EC #EC58A2
split-complementary
#ECEC58 #58A2EC #A258EC
monochromatic
#B5B515 #E6E621 #ECEC58 #F2F28F #F9F9C6

Accessibility & contrast

On white

1.26
#ECEC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#ECEC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEC58
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEC58#FFFFFF#000000##000000
##ECEC581.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE345
Deuteranopia (green-blind)
#FFE861
Tritanopia (blue-blind)
#FCDECD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ecec58;
/* rgb */ color: rgb(236, 236, 88);
/* oklch */ color: oklch(91.6% 0.166 109.3);
Tailwind
colors: {
  custom: {
    50: '#f5f18e',
    500: '#ecec58',
    950: '#000000',
  },
}
SCSS
$custom: #ecec58;
$custom-light: #f5f18e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec58",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.91648,
    "c": 0.16592,
    "h": 109.3
  },
  "luminance": 0.78528
}

Semantic roles & 50–950 ramp

primary
#ECEC58
secondary
#3333B5
accent
#0ADC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECEC58

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

Preview Lab → · Contrast checker → · Palette generator →

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