#ECC748#ECC748

#ECC748 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 84.0% C 0.147 H 92.4°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#ECC748
RGBrgb(236, 199, 72)
HSLhsl(46, 81%, 60%)
HSVhsv(46, 69%, 93%)
CMYKcmyk(0%, 15.7%, 69.5%, 7.5%)
CIE-LABlab(81.37, -0.08, 65.55)
CIE-LCHlch(81.37, 65.55, 90.07°)
OKLaboklab(83.95% -0.0062 0.1465)
OKLCHoklch(83.95% 0.147 92.4)
XYZxyz(56.1882, 59.1508, 14.5874)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC748 #486DEC
analogous
#EC7548 #ECC748 #BFEC48
triadic
#ECC748 #48ECC7 #C748EC
tetradic
#ECC748 #48EC75 #486DEC #EC48BF
square
#ECC748 #48EC75 #486DEC #EC48BF
split-complementary
#ECC748 #48BFEC #7548EC
monochromatic
#A88611 #E0B217 #ECC748 #F2D87F #F8E9B7

Accessibility & contrast

On white

1.64
#ECC748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#ECC748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC748
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC748#FFFFFF#000000##000000
##ECC7481.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#E5CF4F
Tritanopia (blue-blind)
#FFB7AD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc748;
/* rgb */ color: rgb(236, 199, 72);
/* oklch */ color: oklch(84.0% 0.147 92.4);
Tailwind
colors: {
  custom: {
    50: '#f6d782',
    500: '#ecc748',
    950: '#000000',
  },
}
SCSS
$custom: #ecc748;
$custom-light: #f6d782;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc748",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 72
  },
  "hsl": {
    "h": 46.463,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83951,
    "c": 0.14659,
    "h": 92.4
  },
  "luminance": 0.59148
}

Semantic roles & 50–950 ramp

primary
#ECC748
secondary
#2F4AAA
accent
#38DE08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC748

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

Preview Lab → · Contrast checker → · Palette generator →

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