#ECCA57#ECCA57

#ECCA57 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.7% C 0.138 H 92.7°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#ECCA57
RGBrgb(236, 202, 87)
HSLhsl(46, 80%, 63%)
HSVhsv(46, 63%, 93%)
CMYKcmyk(0%, 14.4%, 63.1%, 7.5%)
CIE-LABlab(82.25, -0.78, 60.21)
CIE-LCHlch(82.25, 60.21, 90.75°)
OKLaboklab(84.68% -0.0065 0.1375)
OKLCHoklch(84.68% 0.138 92.7)
XYZxyz(57.4356, 60.7651, 17.7185)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA57 #5779EC
analogous
#EC7F57 #ECCA57 #C3EC57
triadic
#ECCA57 #57ECCA #CA57EC
tetradic
#ECCA57 #57EC7F #5779EC #EC57C3
square
#ECCA57 #57EC7F #5779EC #EC57C3
split-complementary
#ECCA57 #57C3EC #7F57EC
monochromatic
#B49014 #E6B920 #ECCA57 #F2DB8E #F8EDC5

Accessibility & contrast

On white

1.60
#ECCA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#ECCA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCA57
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCA57#FFFFFF#000000##000000
##ECCA571.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74A
Deuteranopia (green-blind)
#E6D15C
Tritanopia (blue-blind)
#FEBBB1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecca57;
/* rgb */ color: rgb(236, 202, 87);
/* oklch */ color: oklch(84.7% 0.138 92.7);
Tailwind
colors: {
  custom: {
    50: '#f6d98b',
    500: '#ecca57',
    950: '#000000',
  },
}
SCSS
$custom: #ecca57;
$custom-light: #f6d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca57",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 46.309,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84682,
    "c": 0.13767,
    "h": 92.7
  },
  "luminance": 0.60762
}

Semantic roles & 50–950 ramp

primary
#ECCA57
secondary
#3351B4
accent
#3ADC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCA57

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

Preview Lab → · Contrast checker → · Palette generator →

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