#ECC755#ECC755

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

Color values

HEX#ECC755
RGBrgb(236, 199, 85)
HSLhsl(45, 80%, 63%)
HSVhsv(45, 64%, 93%)
CMYKcmyk(0%, 15.7%, 64%, 7.5%)
CIE-LABlab(81.48, 0.64, 60.24)
CIE-LCHlch(81.48, 60.24, 89.39°)
OKLaboklab(84.07% -0.0026 0.1373)
OKLCHoklch(84.07% 0.137 91.1)
XYZxyz(56.6580, 59.3387, 17.0618)
Luminance0.5934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC755 #557AEC
analogous
#EC7B55 #ECC755 #C5EC55
triadic
#ECC755 #55ECC7 #C755EC
tetradic
#ECC755 #55EC7B #557AEC #EC55C5
square
#ECC755 #55EC7B #557AEC #EC55C5
split-complementary
#ECC755 #55C5EC #7B55EC
monochromatic
#B38C14 #E6B51E #ECC755 #F2D98C #F8EBC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC755#FFFFFF#000000##000000
##ECC7551.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)
#DBC448
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#FEB8AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc755;
/* rgb */ color: rgb(236, 199, 85);
/* oklch */ color: oklch(84.1% 0.137 91.1);
Tailwind
colors: {
  custom: {
    50: '#f6d789',
    500: '#ecc755',
    950: '#000000',
  },
}
SCSS
$custom: #ecc755;
$custom-light: #f6d789;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc755",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 85
  },
  "hsl": {
    "h": 45.298,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84065,
    "c": 0.13732,
    "h": 91.1
  },
  "luminance": 0.59336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECC755

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

Preview Lab → · Contrast checker → · Palette generator →

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