#ECCA4F#ECCA4F

#ECCA4F is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.6% C 0.144 H 93.5°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#ECCA4F
RGBrgb(236, 202, 79)
HSLhsl(47, 81%, 62%)
HSVhsv(47, 67%, 93%)
CMYKcmyk(0%, 14.4%, 66.5%, 7.5%)
CIE-LABlab(82.19, -1.25, 63.54)
CIE-LCHlch(82.19, 63.56, 91.13°)
OKLaboklab(84.61% -0.0088 0.1434)
OKLCHoklch(84.61% 0.144 93.5)
XYZxyz(57.1267, 60.6415, 16.0916)
Luminance0.6064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA4F #4F71EC
analogous
#EC7B4F #ECCA4F #C0EC4F
triadic
#ECCA4F #4FECCA #CA4FEC
tetradic
#ECCA4F #4FEC7B #4F71EC #EC4FC0
square
#ECCA4F #4FEC7B #4F71EC #EC4FC0
split-complementary
#ECCA4F #4FC0EC #7B4FEC
monochromatic
#AE8C13 #E5B919 #ECCA4F #F2DB86 #F8EBBD

Accessibility & contrast

On white

1.60
#ECCA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#ECCA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCA4F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCA4F#FFFFFF#000000##000000
##ECCA4F1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC740
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#FEBBB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecca4f;
/* rgb */ color: rgb(236, 202, 79);
/* oklch */ color: oklch(84.6% 0.144 93.5);
Tailwind
colors: {
  custom: {
    50: '#f6d986',
    500: '#ecca4f',
    950: '#000000',
  },
}
SCSS
$custom: #ecca4f;
$custom-light: #f6d986;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca4f",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 47.006,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84608,
    "c": 0.14365,
    "h": 93.5
  },
  "luminance": 0.60638
}

Semantic roles & 50–950 ramp

primary
#ECCA4F
secondary
#314CAE
accent
#37DD09
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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