#ECEA59#ECEA59

#ECEA59 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.2% C 0.163 H 108.5°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#ECEA59
RGBrgb(236, 234, 89)
HSLhsl(59, 79%, 64%)
HSVhsv(59, 62%, 93%)
CMYKcmyk(0%, 0.8%, 62.3%, 7.5%)
CIE-LABlab(90.51, -16.72, 68.22)
CIE-LCHlch(90.51, 70.24, 103.77°)
OKLaboklab(91.24% -0.0517 0.1548)
OKLCHoklch(91.24% 0.163 108.5)
XYZxyz(65.8202, 77.4017, 20.9221)
Luminance0.7740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEA59 #595BEC
analogous
#ECA059 #ECEA59 #A4EC59
triadic
#ECEA59 #59ECEA #EA59EC
tetradic
#ECEA59 #59ECA0 #595BEC #EC59A4
square
#ECEA59 #59ECA0 #595BEC #EC59A4
split-complementary
#ECEA59 #59A4EC #A059EC
monochromatic
#B6B415 #E6E322 #ECEA59 #F2F190 #F9F8C7

Accessibility & contrast

On white

1.27
#ECEA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#ECEA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEA59
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEA59#FFFFFF#000000##000000
##ECEA591.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE147
Deuteranopia (green-blind)
#FEE662
Tritanopia (blue-blind)
#FCDCCC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ecea59;
/* rgb */ color: rgb(236, 234, 89);
/* oklch */ color: oklch(91.2% 0.163 108.5);
Tailwind
colors: {
  custom: {
    50: '#f5f08e',
    500: '#ecea59',
    950: '#000000',
  },
}
SCSS
$custom: #ecea59;
$custom-light: #f5f08e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecea59",
  "rgb": {
    "r": 236,
    "g": 234,
    "b": 89
  },
  "hsl": {
    "h": 59.184,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91239,
    "c": 0.1632,
    "h": 108.5
  },
  "luminance": 0.774
}

Semantic roles & 50–950 ramp

primary
#ECEA59
secondary
#3436B5
accent
#0DDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECEA59

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

Preview Lab → · Contrast checker → · Palette generator →

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