#ECC756#ECC756

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

Color values

HEX#ECC756
RGBrgb(236, 199, 86)
HSLhsl(45, 80%, 63%)
HSVhsv(45, 64%, 93%)
CMYKcmyk(0%, 15.7%, 63.6%, 7.5%)
CIE-LABlab(81.49, 0.70, 59.81)
CIE-LCHlch(81.49, 59.82, 89.33°)
OKLaboklab(84.08% -0.0023 0.1365)
OKLCHoklch(84.08% 0.137 91)
XYZxyz(56.6980, 59.3548, 17.2725)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC756 #567BEC
analogous
#EC7C56 #ECC756 #C6EC56
triadic
#ECC756 #56ECC7 #C756EC
tetradic
#ECC756 #56EC7C #567BEC #EC56C6
square
#ECC756 #56EC7C #567BEC #EC56C6
split-complementary
#ECC756 #56C6EC #7C56EC
monochromatic
#B38C14 #E6B51F #ECC756 #F2D98D #F8EBC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC756#FFFFFF#000000##000000
##ECC7561.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)
#DBC449
Deuteranopia (green-blind)
#E4CF5B
Tritanopia (blue-blind)
#FEB8AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc756;
/* rgb */ color: rgb(236, 199, 86);
/* oklch */ color: oklch(84.1% 0.137 91.0);
Tailwind
colors: {
  custom: {
    50: '#f6d78a',
    500: '#ecc756',
    950: '#000000',
  },
}
SCSS
$custom: #ecc756;
$custom-light: #f6d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc756",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 45.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84075,
    "c": 0.13655,
    "h": 91
  },
  "luminance": 0.59352
}

Semantic roles & 50–950 ramp

primary
#ECC756
secondary
#3353B3
accent
#3DDC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC756

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

Preview Lab → · Contrast checker → · Palette generator →

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