#ECC94D#ECC94D

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

Color values

HEX#ECC94D
RGBrgb(236, 201, 77)
HSLhsl(47, 81%, 61%)
HSVhsv(47, 67%, 93%)
CMYKcmyk(0%, 14.8%, 67.4%, 7.5%)
CIE-LABlab(81.92, -0.85, 64.09)
CIE-LCHlch(81.92, 64.09, 90.76°)
OKLaboklab(84.39% -0.0079 0.1442)
OKLCHoklch(84.39% 0.144 93.1)
XYZxyz(56.8211, 60.1451, 15.6360)
Luminance0.6014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC94D #4D70EC
analogous
#EC7A4D #ECC94D #C0EC4D
triadic
#ECC94D #4DECC9 #C94DEC
tetradic
#ECC94D #4DEC7A #4D70EC #EC4DC0
square
#ECC94D #4DEC7A #4D70EC #EC4DC0
split-complementary
#ECC94D #4DC0EC #7A4DEC
monochromatic
#AC8A12 #E4B718 #ECC94D #F2DA84 #F8EBBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC94D#FFFFFF#000000##000000
##ECC94D1.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)
#DEC63D
Deuteranopia (green-blind)
#E6D053
Tritanopia (blue-blind)
#FEBAAF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc94d;
/* rgb */ color: rgb(236, 201, 77);
/* oklch */ color: oklch(84.4% 0.144 93.1);
Tailwind
colors: {
  custom: {
    50: '#f6d985',
    500: '#ecc94d',
    950: '#000000',
  },
}
SCSS
$custom: #ecc94d;
$custom-light: #f6d985;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc94d",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 46.792,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84391,
    "c": 0.14442,
    "h": 93.1
  },
  "luminance": 0.60142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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