#ECEC59#ECEC59

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

Color values

HEX#ECEC59
RGBrgb(236, 236, 89)
HSLhsl(60, 79%, 64%)
HSVhsv(60, 62%, 93%)
CMYKcmyk(0%, 0%, 62.3%, 7.5%)
CIE-LABlab(91.03, -17.69, 68.77)
CIE-LCHlch(91.03, 71.01, 104.43°)
OKLaboklab(91.66% -0.0545 0.156)
OKLCHoklch(91.66% 0.165 109.3)
XYZxyz(66.3928, 78.5469, 21.1130)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEC59 #5959EC
analogous
#ECA259 #ECEC59 #A2EC59
triadic
#ECEC59 #59ECEC #EC59EC
tetradic
#ECEC59 #59ECA2 #5959EC #EC59A2
square
#ECEC59 #59ECA2 #5959EC #EC59A2
split-complementary
#ECEC59 #59A2EC #A259EC
monochromatic
#B6B615 #E6E622 #ECEC59 #F2F290 #F9F9C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECEC59#FFFFFF#000000##000000
##ECEC591.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)
#FEE346
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#FCDECE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ecec59;
/* rgb */ color: rgb(236, 236, 89);
/* oklch */ color: oklch(91.7% 0.165 109.3);
Tailwind
colors: {
  custom: {
    50: '#f5f18e',
    500: '#ecec59',
    950: '#000000',
  },
}
SCSS
$custom: #ecec59;
$custom-light: #f5f18e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecec59",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91656,
    "c": 0.1652,
    "h": 109.3
  },
  "luminance": 0.78545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECEC59

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

Preview Lab → · Contrast checker → · Palette generator →

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