#ECC94C#ECC94C

#ECC94C is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.4% C 0.145 H 93.2°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#ECC94C
RGBrgb(236, 201, 76)
HSLhsl(47, 81%, 61%)
HSVhsv(47, 68%, 93%)
CMYKcmyk(0%, 14.8%, 67.8%, 7.5%)
CIE-LABlab(81.91, -0.90, 64.49)
CIE-LCHlch(81.91, 64.50, 90.80°)
OKLaboklab(84.38% -0.0081 0.1449)
OKLCHoklch(84.38% 0.145 93.2)
XYZxyz(56.7861, 60.1311, 15.4515)
Luminance0.6013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC94C #4C6FEC
analogous
#EC794C #ECC94C #BFEC4C
triadic
#ECC94C #4CECC9 #C94CEC
tetradic
#ECC94C #4CEC79 #4C6FEC #EC4CBF
square
#ECC94C #4CEC79 #4C6FEC #EC4CBF
split-complementary
#ECC94C #4CBFEC #794CEC
monochromatic
#AB8A12 #E3B618 #ECC94C #F2DA83 #F8EABB

Accessibility & contrast

On white

1.61
#ECC94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#ECC94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC94C
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC94C#FFFFFF#000000##000000
##ECC94C1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63C
Deuteranopia (green-blind)
#E6D052
Tritanopia (blue-blind)
#FEBAAF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc94c;
/* rgb */ color: rgb(236, 201, 76);
/* oklch */ color: oklch(84.4% 0.145 93.2);
Tailwind
colors: {
  custom: {
    50: '#f6d984',
    500: '#ecc94c',
    950: '#000000',
  },
}
SCSS
$custom: #ecc94c;
$custom-light: #f6d984;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc94c",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 46.875,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84382,
    "c": 0.14512,
    "h": 93.2
  },
  "luminance": 0.60128
}

Semantic roles & 50–950 ramp

primary
#ECC94C
secondary
#304BAC
accent
#37DD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC94C

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

Preview Lab → · Contrast checker → · Palette generator →

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