#ECEB59#ECEB59

#ECEB59 is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.4% C 0.164 H 108.9°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#ECEB59
RGBrgb(236, 235, 89)
HSLhsl(60, 79%, 64%)
HSVhsv(60, 62%, 93%)
CMYKcmyk(0%, 0.4%, 62.3%, 7.5%)
CIE-LABlab(90.77, -17.20, 68.50)
CIE-LCHlch(90.77, 70.62, 104.10°)
OKLaboklab(91.45% -0.0531 0.1554)
OKLCHoklch(91.45% 0.164 108.9)
XYZxyz(66.1057, 77.9727, 21.0173)
Luminance0.7797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB59 #595AEC
analogous
#ECA159 #ECEB59 #A3EC59
triadic
#ECEB59 #59ECEB #EB59EC
tetradic
#ECEB59 #59ECA1 #595AEC #EC59A3
square
#ECEB59 #59ECA1 #595AEC #EC59A3
split-complementary
#ECEB59 #59A3EC #A159EC
monochromatic
#B6B515 #E6E422 #ECEB59 #F2F290 #F9F8C7

Accessibility & contrast

On white

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

On black

16.59
#ECEB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB59
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB59#FFFFFF#000000##000000
##ECEB591.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE246
Deuteranopia (green-blind)
#FFE762
Tritanopia (blue-blind)
#FCDDCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eceb59;
/* rgb */ color: rgb(236, 235, 89);
/* oklch */ color: oklch(91.4% 0.164 108.9);
Tailwind
colors: {
  custom: {
    50: '#f5f18e',
    500: '#eceb59',
    950: '#000000',
  },
}
SCSS
$custom: #eceb59;
$custom-light: #f5f18e;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb59",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 89
  },
  "hsl": {
    "h": 59.592,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.91448,
    "c": 0.16419,
    "h": 108.9
  },
  "luminance": 0.77971
}

Semantic roles & 50–950 ramp

primary
#ECEB59
secondary
#3435B5
accent
#0BDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECEB59

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

Preview Lab → · Contrast checker → · Palette generator →

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