#ECCE57#ECCE57

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

Color values

HEX#ECCE57
RGBrgb(236, 206, 87)
HSLhsl(48, 80%, 63%)
HSVhsv(48, 63%, 93%)
CMYKcmyk(0%, 12.7%, 63.1%, 7.5%)
CIE-LABlab(83.27, -2.84, 61.31)
CIE-LCHlch(83.27, 61.38, 92.65°)
OKLaboklab(85.48% -0.0124 0.1399)
OKLCHoklch(85.48% 0.14 95.1)
XYZxyz(58.3863, 62.6665, 18.0354)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCE57 #5775EC
analogous
#EC8357 #ECCE57 #C0EC57
triadic
#ECCE57 #57ECCE #CE57EC
tetradic
#ECCE57 #57EC83 #5775EC #EC57C0
square
#ECCE57 #57EC83 #5775EC #EC57C0
split-complementary
#ECCE57 #57C0EC #8357EC
monochromatic
#B49414 #E6BE20 #ECCE57 #F2DE8E #F8EEC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCE57#FFFFFF#000000##000000
##ECCE571.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)
#E2CA49
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#FEBFB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ecce57;
/* rgb */ color: rgb(236, 206, 87);
/* oklch */ color: oklch(85.5% 0.140 95.1);
Tailwind
colors: {
  custom: {
    50: '#f6dc8b',
    500: '#ecce57',
    950: '#000000',
  },
}
SCSS
$custom: #ecce57;
$custom-light: #f6dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecce57",
  "rgb": {
    "r": 236,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 47.919,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85484,
    "c": 0.14041,
    "h": 95.1
  },
  "luminance": 0.62664
}

Semantic roles & 50–950 ramp

primary
#ECCE57
secondary
#334DB4
accent
#34DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCE57

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

Preview Lab → · Contrast checker → · Palette generator →

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