#ECCA4D#ECCA4D

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

Color values

HEX#ECCA4D
RGBrgb(236, 202, 77)
HSLhsl(47, 81%, 61%)
HSVhsv(47, 67%, 93%)
CMYKcmyk(0%, 14.4%, 67.4%, 7.5%)
CIE-LABlab(82.17, -1.36, 64.35)
CIE-LCHlch(82.17, 64.37, 91.22°)
OKLaboklab(84.59% -0.0093 0.1448)
OKLCHoklch(84.59% 0.145 93.7)
XYZxyz(57.0550, 60.6129, 15.7140)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA4D #4D6FEC
analogous
#EC7B4D #ECCA4D #BFEC4D
triadic
#ECCA4D #4DECCA #CA4DEC
tetradic
#ECCA4D #4DEC7B #4D6FEC #EC4DBF
square
#ECCA4D #4DEC7B #4D6FEC #EC4DBF
split-complementary
#ECCA4D #4DBFEC #7B4DEC
monochromatic
#AC8B12 #E4B818 #ECCA4D #F2DA84 #F8EBBC

Accessibility & contrast

On white

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

On black

13.12
#ECCA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCA4D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCA4D#FFFFFF#000000##000000
##ECCA4D1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecca4d;
/* rgb */ color: rgb(236, 202, 77);
/* oklch */ color: oklch(84.6% 0.145 93.7);
Tailwind
colors: {
  custom: {
    50: '#f6d985',
    500: '#ecca4d',
    950: '#000000',
  },
}
SCSS
$custom: #ecca4d;
$custom-light: #f6d985;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca4d",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 47.17,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84591,
    "c": 0.14507,
    "h": 93.7
  },
  "luminance": 0.6061
}

Semantic roles & 50–950 ramp

primary
#ECCA4D
secondary
#304BAD
accent
#36DD08
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECCA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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