#ECCA5E#ECCA5E

#ECCA5E is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.8% C 0.132 H 91.9°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#ECCA5E
RGBrgb(236, 202, 94)
HSLhsl(46, 79%, 65%)
HSVhsv(46, 60%, 93%)
CMYKcmyk(0%, 14.4%, 60.2%, 7.5%)
CIE-LABlab(82.32, -0.33, 57.17)
CIE-LCHlch(82.32, 57.17, 90.33°)
OKLaboklab(84.75% -0.0044 0.132)
OKLCHoklch(84.75% 0.132 91.9)
XYZxyz(57.7356, 60.8851, 19.2984)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA5E #5E80EC
analogous
#EC835E #ECCA5E #C7EC5E
triadic
#ECCA5E #5EECCA #CA5EEC
tetradic
#ECCA5E #5EEC83 #5E80EC #EC5EC7
square
#ECCA5E #5EEC83 #5E80EC #EC5EC7
split-complementary
#ECCA5E #5EC7EC #835EEC
monochromatic
#BA9216 #E6B827 #ECCA5E #F2DC95 #F9EECB

Accessibility & contrast

On white

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

On black

13.18
#ECCA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCA5E
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCA5E#FFFFFF#000000##000000
##ECCA5E1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC753
Deuteranopia (green-blind)
#E6D163
Tritanopia (blue-blind)
#FEBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecca5e;
/* rgb */ color: rgb(236, 202, 94);
/* oklch */ color: oklch(84.8% 0.132 91.9);
Tailwind
colors: {
  custom: {
    50: '#f5d98f',
    500: '#ecca5e',
    950: '#000000',
  },
}
SCSS
$custom: #ecca5e;
$custom-light: #f5d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca5e",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 94
  },
  "hsl": {
    "h": 45.634,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84754,
    "c": 0.13204,
    "h": 91.9
  },
  "luminance": 0.60882
}

Semantic roles & 50–950 ramp

primary
#ECCA5E
secondary
#3555B9
accent
#3CDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #ECCA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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