#ECC94F#ECC94F

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

Color values

HEX#ECC94F
RGBrgb(236, 201, 79)
HSLhsl(47, 81%, 62%)
HSVhsv(47, 67%, 93%)
CMYKcmyk(0%, 14.8%, 66.5%, 7.5%)
CIE-LABlab(81.93, -0.74, 63.28)
CIE-LCHlch(81.93, 63.28, 90.67°)
OKLaboklab(84.41% -0.0073 0.1428)
OKLCHoklch(84.41% 0.143 92.9)
XYZxyz(56.8928, 60.1738, 16.0137)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC94F #4F72EC
analogous
#EC7B4F #ECC94F #C1EC4F
triadic
#ECC94F #4FECC9 #C94FEC
tetradic
#ECC94F #4FEC7B #4F72EC #EC4FC1
square
#ECC94F #4FEC7B #4F72EC #EC4FC1
split-complementary
#ECC94F #4FC1EC #7B4FEC
monochromatic
#AE8B13 #E5B819 #ECC94F #F2DA86 #F8EBBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC94F#FFFFFF#000000##000000
##ECC94F1.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)
#DDC640
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#FEBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc94f;
/* rgb */ color: rgb(236, 201, 79);
/* oklch */ color: oklch(84.4% 0.143 92.9);
Tailwind
colors: {
  custom: {
    50: '#f6d986',
    500: '#ecc94f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc94f;
$custom-light: #f6d986;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc94f",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 46.624,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84408,
    "c": 0.14301,
    "h": 92.9
  },
  "luminance": 0.60171
}

Semantic roles & 50–950 ramp

primary
#ECC94F
secondary
#314DAE
accent
#38DD09
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC94F

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

Preview Lab → · Contrast checker → · Palette generator →

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