#ECC757#ECC757

#ECC757 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 84.1% C 0.136 H 90.9°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#ECC757
RGBrgb(236, 199, 87)
HSLhsl(45, 80%, 63%)
HSVhsv(45, 63%, 93%)
CMYKcmyk(0%, 15.7%, 63.1%, 7.5%)
CIE-LABlab(81.50, 0.76, 59.38)
CIE-LCHlch(81.50, 59.39, 89.26°)
OKLaboklab(84.08% -0.002 0.1358)
OKLCHoklch(84.08% 0.136 90.9)
XYZxyz(56.7386, 59.3710, 17.4862)
Luminance0.5937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC757 #577CEC
analogous
#EC7C57 #ECC757 #C6EC57
triadic
#ECC757 #57ECC7 #C757EC
tetradic
#ECC757 #57EC7C #577CEC #EC57C6
square
#ECC757 #57EC7C #577CEC #EC57C6
split-complementary
#ECC757 #57C6EC #7C57EC
monochromatic
#B48D14 #E6B520 #ECC757 #F2D98E #F8ECC5

Accessibility & contrast

On white

1.63
#ECC757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#ECC757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC757
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC757#FFFFFF#000000##000000
##ECC7571.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44B
Deuteranopia (green-blind)
#E4CF5C
Tritanopia (blue-blind)
#FEB8AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc757;
/* rgb */ color: rgb(236, 199, 87);
/* oklch */ color: oklch(84.1% 0.136 90.9);
Tailwind
colors: {
  custom: {
    50: '#f6d78b',
    500: '#ecc757',
    950: '#000000',
  },
}
SCSS
$custom: #ecc757;
$custom-light: #f6d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc757",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 45.101,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84084,
    "c": 0.13578,
    "h": 90.9
  },
  "luminance": 0.59368
}

Semantic roles & 50–950 ramp

primary
#ECC757
secondary
#3353B4
accent
#3EDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC757

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

Preview Lab → · Contrast checker → · Palette generator →

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