#ECD986#ECD986

#ECD986 is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.105 H 96.8°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#ECD986
RGBrgb(236, 217, 134)
HSLhsl(49, 73%, 73%)
HSVhsv(49, 43%, 93%)
CMYKcmyk(0%, 8.1%, 43.2%, 7.5%)
CIE-LABlab(86.59, -4.63, 43.16)
CIE-LCHlch(86.59, 43.41, 96.13°)
OKLaboklab(88.29% -0.0125 0.1047)
OKLCHoklch(88.29% 0.105 96.8)
XYZxyz(63.7096, 69.1820, 32.5471)
Luminance0.6918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD986 #8699EC
analogous
#ECA686 #ECD986 #CCEC86
triadic
#ECD986 #86ECD9 #D986EC
tetradic
#ECD986 #86ECA6 #8699EC #EC86CC
square
#ECD986 #86ECA6 #8699EC #EC86CC
split-complementary
#ECD986 #86CCEC #A686EC
monochromatic
#D6B422 #E4C851 #ECD986 #F4EABB #FBF7E5

Accessibility & contrast

On white

1.42
#ECD986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#ECD986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD986
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD986#FFFFFF#000000##000000
##ECD9861.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D580
Deuteranopia (green-blind)
#EEDC89
Tritanopia (blue-blind)
#FACEC5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd986;
/* rgb */ color: rgb(236, 217, 134);
/* oklch */ color: oklch(88.3% 0.105 96.8);
Tailwind
colors: {
  custom: {
    50: '#f4e4aa',
    500: '#ecd986',
    950: '#000000',
  },
}
SCSS
$custom: #ecd986;
$custom-light: #f4e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd986",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 134
  },
  "hsl": {
    "h": 48.824,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.88286,
    "c": 0.10548,
    "h": 96.8
  },
  "luminance": 0.6918
}

Semantic roles & 50–950 ramp

primary
#ECD986
secondary
#5066C6
accent
#35D511
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD986

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

Preview Lab → · Contrast checker → · Palette generator →

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