#ECD586#ECD586

#ECD586 is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.5% C 0.102 H 93.7°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#ECD586
RGBrgb(236, 213, 134)
HSLhsl(46, 73%, 73%)
HSVhsv(46, 43%, 93%)
CMYKcmyk(0%, 9.7%, 43.2%, 7.5%)
CIE-LABlab(85.58, -2.60, 41.87)
CIE-LCHlch(85.58, 41.95, 93.55°)
OKLaboklab(87.48% -0.0066 0.1018)
OKLCHoklch(87.48% 0.102 93.7)
XYZxyz(62.6910, 67.1449, 32.2076)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD586 #869DEC
analogous
#ECA286 #ECD586 #D0EC86
triadic
#ECD586 #86ECD5 #D586EC
tetradic
#ECD586 #86ECA2 #869DEC #EC86D0
square
#ECD586 #86ECA2 #869DEC #EC86D0
split-complementary
#ECD586 #86D0EC #A286EC
monochromatic
#D6AD22 #E4C351 #ECD586 #F4E7BB #FBF6E5

Accessibility & contrast

On white

1.46
#ECD586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#ECD586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD586
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD586#FFFFFF#000000##000000
##ECD5861.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D280
Deuteranopia (green-blind)
#EAD989
Tritanopia (blue-blind)
#FACAC2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd586;
/* rgb */ color: rgb(236, 213, 134);
/* oklch */ color: oklch(87.5% 0.102 93.7);
Tailwind
colors: {
  custom: {
    50: '#f4e1aa',
    500: '#ecd586',
    950: '#000000',
  },
}
SCSS
$custom: #ecd586;
$custom-light: #f4e1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd586",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 134
  },
  "hsl": {
    "h": 46.471,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87482,
    "c": 0.10203,
    "h": 93.7
  },
  "luminance": 0.67143
}

Semantic roles & 50–950 ramp

primary
#ECD586
secondary
#506BC6
accent
#3DD511
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD586

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

Preview Lab → · Contrast checker → · Palette generator →

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