#ECCA5D#ECCA5D

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

Color values

HEX#ECCA5D
RGBrgb(236, 202, 93)
HSLhsl(46, 79%, 65%)
HSVhsv(46, 61%, 93%)
CMYKcmyk(0%, 14.4%, 60.6%, 7.5%)
CIE-LABlab(82.31, -0.39, 57.61)
CIE-LCHlch(82.31, 57.61, 90.39°)
OKLaboklab(84.74% -0.0047 0.1328)
OKLCHoklch(84.74% 0.133 92)
XYZxyz(57.6910, 60.8673, 19.0636)
Luminance0.6086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA5D #5D7FEC
analogous
#EC825D #ECCA5D #C7EC5D
triadic
#ECCA5D #5DECCA #CA5DEC
tetradic
#ECCA5D #5DEC82 #5D7FEC #EC5DC7
square
#ECCA5D #5DEC82 #5D7FEC #EC5DC7
split-complementary
#ECCA5D #5DC7EC #825DEC
monochromatic
#B99216 #E6B826 #ECCA5D #F2DC94 #F9EECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECCA5D#FFFFFF#000000##000000
##ECCA5D1.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)
#DEC752
Deuteranopia (green-blind)
#E6D162
Tritanopia (blue-blind)
#FEBCB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecca5d;
/* rgb */ color: rgb(236, 202, 93);
/* oklch */ color: oklch(84.7% 0.133 92.0);
Tailwind
colors: {
  custom: {
    50: '#f5d98f',
    500: '#ecca5d',
    950: '#000000',
  },
}
SCSS
$custom: #ecca5d;
$custom-light: #f5d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca5d",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 45.734,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84743,
    "c": 0.13286,
    "h": 92
  },
  "luminance": 0.60864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECCA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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