#ECCE55#ECCE55

#ECCE55 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.5% C 0.142 H 95.3°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#ECCE55
RGBrgb(236, 206, 85)
HSLhsl(48, 80%, 63%)
HSVhsv(48, 64%, 93%)
CMYKcmyk(0%, 12.7%, 64%, 7.5%)
CIE-LABlab(83.25, -2.96, 62.15)
CIE-LCHlch(83.25, 62.22, 92.72°)
OKLaboklab(85.47% -0.013 0.1414)
OKLCHoklch(85.47% 0.142 95.3)
XYZxyz(58.3058, 62.6343, 17.6111)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE55 #5573EC
analogous
#EC8255 #ECCE55 #BFEC55
triadic
#ECCE55 #55ECCE #CE55EC
tetradic
#ECCE55 #55EC82 #5573EC #EC55BF
square
#ECCE55 #55EC82 #5573EC #EC55BF
split-complementary
#ECCE55 #55BFEC #8255EC
monochromatic
#B39314 #E6BE1E #ECCE55 #F2DE8C #F8EEC3

Accessibility & contrast

On white

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

On black

13.53
#ECCE55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCE55
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCE55#FFFFFF#000000##000000
##ECCE551.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA47
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#FEBFB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ecce55;
/* rgb */ color: rgb(236, 206, 85);
/* oklch */ color: oklch(85.5% 0.142 95.3);
Tailwind
colors: {
  custom: {
    50: '#f6dc8a',
    500: '#ecce55',
    950: '#000000',
  },
}
SCSS
$custom: #ecce55;
$custom-light: #f6dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce55",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 85
  },
  "hsl": {
    "h": 48.079,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85465,
    "c": 0.14195,
    "h": 95.3
  },
  "luminance": 0.62631
}

Semantic roles & 50–950 ramp

primary
#ECCE55
secondary
#334CB3
accent
#33DC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCE55

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

Preview Lab → · Contrast checker → · Palette generator →

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