#ECD786#ECD786

#ECD786 is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.9% C 0.104 H 95.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#ECD786
RGBrgb(236, 215, 134)
HSLhsl(48, 73%, 73%)
HSVhsv(48, 43%, 93%)
CMYKcmyk(0%, 8.9%, 43.2%, 7.5%)
CIE-LABlab(86.08, -3.62, 42.52)
CIE-LCHlch(86.08, 42.67, 94.86°)
OKLaboklab(87.88% -0.0096 0.1033)
OKLCHoklch(87.88% 0.104 95.3)
XYZxyz(63.1972, 68.1572, 32.3763)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD786 #869BEC
analogous
#ECA486 #ECD786 #CEEC86
triadic
#ECD786 #86ECD7 #D786EC
tetradic
#ECD786 #86ECA4 #869BEC #EC86CE
square
#ECD786 #86ECA4 #869BEC #EC86CE
split-complementary
#ECD786 #86CEEC #A486EC
monochromatic
#D6B122 #E4C651 #ECD786 #F4E8BB #FBF6E5

Accessibility & contrast

On white

1.44
#ECD786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#ECD786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD786
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD786#FFFFFF#000000##000000
##ECD7861.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D380
Deuteranopia (green-blind)
#ECDA89
Tritanopia (blue-blind)
#FACCC3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd786;
/* rgb */ color: rgb(236, 215, 134);
/* oklch */ color: oklch(87.9% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#f4e3aa',
    500: '#ecd786',
    950: '#000000',
  },
}
SCSS
$custom: #ecd786;
$custom-light: #f4e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd786",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 47.647,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87883,
    "c": 0.10371,
    "h": 95.3
  },
  "luminance": 0.68155
}

Semantic roles & 50–950 ramp

primary
#ECD786
secondary
#5068C6
accent
#39D511
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD786

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

Preview Lab → · Contrast checker → · Palette generator →

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