#ECC64A#ECC64A

#ECC64A is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.8% C 0.145 H 91.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#ECC64A
RGBrgb(236, 198, 74)
HSLhsl(46, 81%, 61%)
HSVhsv(46, 69%, 93%)
CMYKcmyk(0%, 16.1%, 68.6%, 7.5%)
CIE-LABlab(81.14, 0.54, 64.51)
CIE-LCHlch(81.14, 64.51, 89.52°)
OKLaboklab(83.77% -0.0042 0.1446)
OKLCHoklch(83.77% 0.145 91.7)
XYZxyz(56.0251, 58.7187, 14.8601)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC64A #4A70EC
analogous
#EC754A #ECC64A #C1EC4A
triadic
#ECC64A #4AECC6 #C64AEC
tetradic
#ECC64A #4AEC75 #4A70EC #EC4AC1
square
#ECC64A #4AEC75 #4A70EC #EC4AC1
split-complementary
#ECC64A #4AC1EC #754AEC
monochromatic
#AA8612 #E1B218 #ECC64A #F2D781 #F8E9B9

Accessibility & contrast

On white

1.65
#ECC64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#ECC64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC64A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC64A#FFFFFF#000000##000000
##ECC64A1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33A
Deuteranopia (green-blind)
#E4CE50
Tritanopia (blue-blind)
#FFB6AC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ecc64a;
/* rgb */ color: rgb(236, 198, 74);
/* oklch */ color: oklch(83.8% 0.145 91.7);
Tailwind
colors: {
  custom: {
    50: '#f6d683',
    500: '#ecc64a',
    950: '#000000',
  },
}
SCSS
$custom: #ecc64a;
$custom-light: #f6d683;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc64a",
  "rgb": {
    "r": 236,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 45.926,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83768,
    "c": 0.14465,
    "h": 91.7
  },
  "luminance": 0.58715
}

Semantic roles & 50–950 ramp

primary
#ECC64A
secondary
#2F4CAB
accent
#3ADD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC64A

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

Preview Lab → · Contrast checker → · Palette generator →

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