#ECC64F#ECC64F

#ECC64F is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.8% C 0.141 H 91.2°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#ECC64F
RGBrgb(236, 198, 79)
HSLhsl(45, 81%, 62%)
HSVhsv(45, 67%, 93%)
CMYKcmyk(0%, 16.1%, 66.5%, 7.5%)
CIE-LABlab(81.18, 0.81, 62.48)
CIE-LCHlch(81.18, 62.49, 89.26°)
OKLaboklab(83.81% -0.0029 0.1411)
OKLCHoklch(83.81% 0.141 91.2)
XYZxyz(56.2003, 58.7888, 15.7828)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC64F #4F75EC
analogous
#EC784F #ECC64F #C3EC4F
triadic
#ECC64F #4FECC6 #C64FEC
tetradic
#ECC64F #4FEC78 #4F75EC #EC4FC3
square
#ECC64F #4FEC78 #4F75EC #EC4FC3
split-complementary
#ECC64F #4FC3EC #784FEC
monochromatic
#AE8813 #E5B419 #ECC64F #F2D886 #F8EABD

Accessibility & contrast

On white

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

On black

12.76
#ECC64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC64F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC64F#FFFFFF#000000##000000
##ECC64F1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecc64f;
/* rgb */ color: rgb(236, 198, 79);
/* oklch */ color: oklch(83.8% 0.141 91.2);
Tailwind
colors: {
  custom: {
    50: '#f6d686',
    500: '#ecc64f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc64f;
$custom-light: #f6d686;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc64f",
  "rgb": {
    "r": 236,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 45.478,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8381,
    "c": 0.14117,
    "h": 91.2
  },
  "luminance": 0.58786
}

Semantic roles & 50–950 ramp

primary
#ECC64F
secondary
#314FAE
accent
#3CDD09
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC64F

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

Preview Lab → · Contrast checker → · Palette generator →

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