#ECC348#ECC348

#ECC348 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 83.2% C 0.144 H 90.1°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#ECC348
RGBrgb(236, 195, 72)
HSLhsl(45, 81%, 60%)
HSVhsv(45, 69%, 93%)
CMYKcmyk(0%, 17.4%, 69.5%, 7.5%)
CIE-LABlab(80.37, 1.99, 64.53)
CIE-LCHlch(80.37, 64.56, 88.24°)
OKLaboklab(83.16% -0.0003 0.1443)
OKLCHoklch(83.16% 0.144 90.1)
XYZxyz(55.2799, 57.3343, 14.2846)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC348 #4871EC
analogous
#EC7148 #ECC348 #C3EC48
triadic
#ECC348 #48ECC3 #C348EC
tetradic
#ECC348 #48EC71 #4871EC #EC48C3
square
#ECC348 #48EC71 #4871EC #EC48C3
split-complementary
#ECC348 #48C3EC #7148EC
monochromatic
#A88211 #E0AD17 #ECC348 #F2D57F #F8E7B7

Accessibility & contrast

On white

1.68
#ECC348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#ECC348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC348
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC348#FFFFFF#000000##000000
##ECC3481.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C137
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#FFB3AA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc348;
/* rgb */ color: rgb(236, 195, 72);
/* oklch */ color: oklch(83.2% 0.144 90.1);
Tailwind
colors: {
  custom: {
    50: '#f6d481',
    500: '#ecc348',
    950: '#000000',
  },
}
SCSS
$custom: #ecc348;
$custom-light: #f6d481;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc348",
  "rgb": {
    "r": 236,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 45,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83156,
    "c": 0.14429,
    "h": 90.1
  },
  "luminance": 0.57331
}

Semantic roles & 50–950 ramp

primary
#ECC348
secondary
#2F4DAA
accent
#3DDE08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC348

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

Preview Lab → · Contrast checker → · Palette generator →

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