#ECCB57#ECCB57

#ECCB57 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.9% C 0.138 H 93.3°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#ECCB57
RGBrgb(236, 203, 87)
HSLhsl(47, 80%, 63%)
HSVhsv(47, 63%, 93%)
CMYKcmyk(0%, 14%, 63.1%, 7.5%)
CIE-LABlab(82.51, -1.30, 60.49)
CIE-LCHlch(82.51, 60.50, 91.23°)
OKLaboklab(84.88% -0.008 0.1381)
OKLCHoklch(84.88% 0.138 93.3)
XYZxyz(57.6710, 61.2359, 17.7970)
Luminance0.6123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCB57 #5778EC
analogous
#EC8057 #ECCB57 #C3EC57
triadic
#ECCB57 #57ECCB #CB57EC
tetradic
#ECCB57 #57EC80 #5778EC #EC57C3
square
#ECCB57 #57EC80 #5778EC #EC57C3
split-complementary
#ECCB57 #57C3EC #8057EC
monochromatic
#B49114 #E6BA20 #ECCB57 #F2DC8E #F8EDC5

Accessibility & contrast

On white

1.59
#ECCB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#ECCB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCB57
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCB57#FFFFFF#000000##000000
##ECCB571.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84A
Deuteranopia (green-blind)
#E7D25C
Tritanopia (blue-blind)
#FEBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #eccb57;
/* rgb */ color: rgb(236, 203, 87);
/* oklch */ color: oklch(84.9% 0.138 93.3);
Tailwind
colors: {
  custom: {
    50: '#f6da8b',
    500: '#eccb57',
    950: '#000000',
  },
}
SCSS
$custom: #eccb57;
$custom-light: #f6da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#eccb57",
  "rgb": {
    "r": 236,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 46.711,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84882,
    "c": 0.13833,
    "h": 93.3
  },
  "luminance": 0.61233
}

Semantic roles & 50–950 ramp

primary
#ECCB57
secondary
#3350B4
accent
#38DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCB57

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

Preview Lab → · Contrast checker → · Palette generator →

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