#ECCA5C#ECCA5C

#ECCA5C is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.7% C 0.134 H 92.1°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#ECCA5C
RGBrgb(236, 202, 92)
HSLhsl(46, 79%, 64%)
HSVhsv(46, 61%, 93%)
CMYKcmyk(0%, 14.4%, 61%, 7.5%)
CIE-LABlab(82.30, -0.46, 58.05)
CIE-LCHlch(82.30, 58.05, 90.46°)
OKLaboklab(84.73% -0.005 0.1336)
OKLCHoklch(84.73% 0.134 92.1)
XYZxyz(57.6470, 60.8497, 18.8319)
Luminance0.6085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA5C #5C7EEC
analogous
#EC825C #ECCA5C #C6EC5C
triadic
#ECCA5C #5CECCA #CA5CEC
tetradic
#ECCA5C #5CEC82 #5C7EEC #EC5CC6
square
#ECCA5C #5CEC82 #5C7EEC #EC5CC6
split-complementary
#ECCA5C #5CC6EC #825CEC
monochromatic
#B89215 #E6B825 #ECCA5C #F2DC93 #F9EECA

Accessibility & contrast

On white

1.59
#ECCA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#ECCA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCA5C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCA5C#FFFFFF#000000##000000
##ECCA5C1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC750
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#FEBBB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecca5c;
/* rgb */ color: rgb(236, 202, 92);
/* oklch */ color: oklch(84.7% 0.134 92.1);
Tailwind
colors: {
  custom: {
    50: '#f5d98e',
    500: '#ecca5c',
    950: '#000000',
  },
}
SCSS
$custom: #ecca5c;
$custom-light: #f5d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca5c",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 45.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84733,
    "c": 0.13368,
    "h": 92.1
  },
  "luminance": 0.60847
}

Semantic roles & 50–950 ramp

primary
#ECCA5C
secondary
#3554B8
accent
#3CDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECCA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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