#ECC84D#ECC84D

#ECC84D is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.2% C 0.144 H 92.6°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#ECC84D
RGBrgb(236, 200, 77)
HSLhsl(46, 81%, 61%)
HSVhsv(46, 67%, 93%)
CMYKcmyk(0%, 15.3%, 67.4%, 7.5%)
CIE-LABlab(81.66, -0.34, 63.83)
CIE-LCHlch(81.66, 63.83, 90.30°)
OKLaboklab(84.19% -0.0064 0.1437)
OKLCHoklch(84.19% 0.144 92.6)
XYZxyz(56.5888, 59.6804, 15.5586)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC84D #4D71EC
analogous
#EC794D #ECC84D #C1EC4D
triadic
#ECC84D #4DECC8 #C84DEC
tetradic
#ECC84D #4DEC79 #4D71EC #EC4DC1
square
#ECC84D #4DEC79 #4D71EC #EC4DC1
split-complementary
#ECC84D #4DC1EC #794DEC
monochromatic
#AC8912 #E4B618 #ECC84D #F2D984 #F8EABC

Accessibility & contrast

On white

1.62
#ECC84D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#ECC84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC84D
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC84D#FFFFFF#000000##000000
##ECC84D1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53D
Deuteranopia (green-blind)
#E6CF53
Tritanopia (blue-blind)
#FEB9AE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ecc84d;
/* rgb */ color: rgb(236, 200, 77);
/* oklch */ color: oklch(84.2% 0.144 92.6);
Tailwind
colors: {
  custom: {
    50: '#f6d885',
    500: '#ecc84d',
    950: '#000000',
  },
}
SCSS
$custom: #ecc84d;
$custom-light: #f6d885;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc84d",
  "rgb": {
    "r": 236,
    "g": 200,
    "b": 77
  },
  "hsl": {
    "h": 46.415,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84191,
    "c": 0.1438,
    "h": 92.6
  },
  "luminance": 0.59677
}

Semantic roles & 50–950 ramp

primary
#ECC84D
secondary
#304CAD
accent
#39DD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC84D

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

Preview Lab → · Contrast checker → · Palette generator →

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