#ECCE56#ECCE56

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

Color values

HEX#ECCE56
RGBrgb(236, 206, 86)
HSLhsl(48, 80%, 63%)
HSVhsv(48, 64%, 93%)
CMYKcmyk(0%, 12.7%, 63.6%, 7.5%)
CIE-LABlab(83.26, -2.90, 61.73)
CIE-LCHlch(83.26, 61.80, 92.69°)
OKLaboklab(85.47% -0.0127 0.1406)
OKLCHoklch(85.47% 0.141 95.2)
XYZxyz(58.3458, 62.6503, 17.8218)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE56 #5674EC
analogous
#EC8356 #ECCE56 #BFEC56
triadic
#ECCE56 #56ECCE #CE56EC
tetradic
#ECCE56 #56EC83 #5674EC #EC56BF
square
#ECCE56 #56EC83 #5674EC #EC56BF
split-complementary
#ECCE56 #56BFEC #8356EC
monochromatic
#B39414 #E6BE1F #ECCE56 #F2DE8D #F8EEC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCE56#FFFFFF#000000##000000
##ECCE561.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)
#E2CA48
Deuteranopia (green-blind)
#E9D35C
Tritanopia (blue-blind)
#FEBFB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ecce56;
/* rgb */ color: rgb(236, 206, 86);
/* oklch */ color: oklch(85.5% 0.141 95.2);
Tailwind
colors: {
  custom: {
    50: '#f6dc8b',
    500: '#ecce56',
    950: '#000000',
  },
}
SCSS
$custom: #ecce56;
$custom-light: #f6dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce56",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 86
  },
  "hsl": {
    "h": 48,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85474,
    "c": 0.14118,
    "h": 95.2
  },
  "luminance": 0.62647
}

Semantic roles & 50–950 ramp

primary
#ECCE56
secondary
#334DB3
accent
#34DC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCE56

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

Preview Lab → · Contrast checker → · Palette generator →

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