#ECC752#ECC752

#ECC752 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 84.0% C 0.140 H 91.4°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#ECC752
RGBrgb(236, 199, 82)
HSLhsl(46, 80%, 62%)
HSVhsv(46, 65%, 93%)
CMYKcmyk(0%, 15.7%, 65.3%, 7.5%)
CIE-LABlab(81.45, 0.46, 61.51)
CIE-LCHlch(81.45, 61.51, 89.57°)
OKLaboklab(84.04% -0.0035 0.1395)
OKLCHoklch(84.04% 0.14 91.4)
XYZxyz(56.5413, 59.2921, 16.4474)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC752 #5277EC
analogous
#EC7A52 #ECC752 #C4EC52
triadic
#ECC752 #52ECC7 #C752EC
tetradic
#ECC752 #52EC7A #5277EC #EC52C4
square
#ECC752 #52EC7A #5277EC #EC52C4
split-complementary
#ECC752 #52C4EC #7A52EC
monochromatic
#B08B13 #E6B51B #ECC752 #F2D989 #F8EBC0

Accessibility & contrast

On white

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

On black

12.86
#ECC752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC752
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC752#FFFFFF#000000##000000
##ECC7521.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC444
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#FEB8AE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc752;
/* rgb */ color: rgb(236, 199, 82);
/* oklch */ color: oklch(84.0% 0.140 91.4);
Tailwind
colors: {
  custom: {
    50: '#f6d788',
    500: '#ecc752',
    950: '#000000',
  },
}
SCSS
$custom: #ecc752;
$custom-light: #f6d788;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc752",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 45.584,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84037,
    "c": 0.13957,
    "h": 91.4
  },
  "luminance": 0.59289
}

Semantic roles & 50–950 ramp

primary
#ECC752
secondary
#3250B1
accent
#3CDD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC752

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

Preview Lab → · Contrast checker → · Palette generator →

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