#ECEB57#ECEB57

#ECEB57 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.4% C 0.166 H 108.9°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#ECEB57
RGBrgb(236, 235, 87)
HSLhsl(60, 80%, 63%)
HSVhsv(60, 63%, 93%)
CMYKcmyk(0%, 0.4%, 63.1%, 7.5%)
CIE-LABlab(90.75, -17.32, 69.28)
CIE-LCHlch(90.75, 71.41, 104.04°)
OKLaboklab(91.43% -0.0537 0.1567)
OKLCHoklch(91.43% 0.166 108.9)
XYZxyz(66.0229, 77.9396, 20.5809)
Luminance0.7794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEB57 #5758EC
analogous
#ECA057 #ECEB57 #A2EC57
triadic
#ECEB57 #57ECEB #EB57EC
tetradic
#ECEB57 #57ECA0 #5758EC #EC57A2
square
#ECEB57 #57ECA0 #5758EC #EC57A2
split-complementary
#ECEB57 #57A2EC #A057EC
monochromatic
#B4B314 #E6E420 #ECEB57 #F2F28E #F8F8C5

Accessibility & contrast

On white

1.27
#ECEB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#ECEB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEB57
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEB57#FFFFFF#000000##000000
##ECEB571.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE244
Deuteranopia (green-blind)
#FFE760
Tritanopia (blue-blind)
#FCDDCD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #eceb57;
/* rgb */ color: rgb(236, 235, 87);
/* oklch */ color: oklch(91.4% 0.166 108.9);
Tailwind
colors: {
  custom: {
    50: '#f5f18d',
    500: '#eceb57',
    950: '#000000',
  },
}
SCSS
$custom: #eceb57;
$custom-light: #f5f18d;
$custom-dark: #000000;
JSON
{
  "hex": "#eceb57",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 87
  },
  "hsl": {
    "h": 59.597,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91431,
    "c": 0.16565,
    "h": 108.9
  },
  "luminance": 0.77938
}

Semantic roles & 50–950 ramp

primary
#ECEB57
secondary
#3334B4
accent
#0BDC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECEB57

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

Preview Lab → · Contrast checker → · Palette generator →

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