#ECCE59#ECCE59

#ECCE59 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.5% C 0.139 H 94.9°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#ECCE59
RGBrgb(236, 206, 89)
HSLhsl(48, 79%, 64%)
HSVhsv(48, 62%, 93%)
CMYKcmyk(0%, 12.7%, 62.3%, 7.5%)
CIE-LABlab(83.28, -2.71, 60.46)
CIE-LCHlch(83.28, 60.52, 92.57°)
OKLaboklab(85.5% -0.0118 0.1383)
OKLCHoklch(85.5% 0.139 94.9)
XYZxyz(58.4692, 62.6997, 18.4718)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE59 #5977EC
analogous
#EC8459 #ECCE59 #C0EC59
triadic
#ECCE59 #59ECCE #CE59EC
tetradic
#ECCE59 #59EC84 #5977EC #EC59C0
square
#ECCE59 #59EC84 #5977EC #EC59C0
split-complementary
#ECCE59 #59C0EC #8459EC
monochromatic
#B69515 #E6BE22 #ECCE59 #F2DE90 #F9EEC7

Accessibility & contrast

On white

1.55
#ECCE59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#ECCE59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE59
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE59#FFFFFF#000000##000000
##ECCE591.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4C
Deuteranopia (green-blind)
#E9D35F
Tritanopia (blue-blind)
#FEBFB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ecce59;
/* rgb */ color: rgb(236, 206, 89);
/* oklch */ color: oklch(85.5% 0.139 94.9);
Tailwind
colors: {
  custom: {
    50: '#f5dc8c',
    500: '#ecce59',
    950: '#000000',
  },
}
SCSS
$custom: #ecce59;
$custom-light: #f5dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce59",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 89
  },
  "hsl": {
    "h": 47.755,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85503,
    "c": 0.13884,
    "h": 94.9
  },
  "luminance": 0.62697
}

Semantic roles & 50–950 ramp

primary
#ECCE59
secondary
#344EB5
accent
#35DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCE59

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

Preview Lab → · Contrast checker → · Palette generator →

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