#ECE857#ECE857

#ECE857 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.8% C 0.163 H 107.7°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#ECE857
RGBrgb(236, 232, 87)
HSLhsl(58, 80%, 63%)
HSVhsv(58, 63%, 93%)
CMYKcmyk(0%, 1.7%, 63.1%, 7.5%)
CIE-LABlab(89.97, -15.86, 68.46)
CIE-LCHlch(89.97, 70.27, 103.04°)
OKLaboklab(90.81% -0.0495 0.155)
OKLCHoklch(90.81% 0.163 107.7)
XYZxyz(65.1712, 76.2362, 20.2971)
Luminance0.7623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE857 #575BEC
analogous
#EC9D57 #ECE857 #A5EC57
triadic
#ECE857 #57ECE8 #E857EC
tetradic
#ECE857 #57EC9D #575BEC #EC57A5
square
#ECE857 #57EC9D #575BEC #EC57A5
split-complementary
#ECE857 #57A5EC #9D57EC
monochromatic
#B4B014 #E6E020 #ECE857 #F2F08E #F8F7C5

Accessibility & contrast

On white

1.29
#ECE857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#ECE857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE857
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE857#FFFFFF#000000##000000
##ECE8571.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF44
Deuteranopia (green-blind)
#FDE560
Tritanopia (blue-blind)
#FCDACA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece857;
/* rgb */ color: rgb(236, 232, 87);
/* oklch */ color: oklch(90.8% 0.163 107.7);
Tailwind
colors: {
  custom: {
    50: '#f5ef8d',
    500: '#ece857',
    950: '#000000',
  },
}
SCSS
$custom: #ece857;
$custom-light: #f5ef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ece857",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 87
  },
  "hsl": {
    "h": 58.389,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90806,
    "c": 0.16271,
    "h": 107.7
  },
  "luminance": 0.76234
}

Semantic roles & 50–950 ramp

primary
#ECE857
secondary
#3337B4
accent
#0FDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECE857

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

Preview Lab → · Contrast checker → · Palette generator →

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