#ECD386#ECD386

#ECD386 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.100 H 92.1°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#ECD386
RGBrgb(236, 211, 134)
HSLhsl(45, 73%, 73%)
HSVhsv(45, 43%, 93%)
CMYKcmyk(0%, 10.6%, 43.2%, 7.5%)
CIE-LABlab(85.07, -1.57, 41.23)
CIE-LCHlch(85.07, 41.26, 92.18°)
OKLaboklab(87.08% -0.0037 0.1004)
OKLCHoklch(87.08% 0.1 92.1)
XYZxyz(62.1911, 66.1450, 32.0410)
Luminance0.6614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD386 #869FEC
analogous
#ECA086 #ECD386 #D2EC86
triadic
#ECD386 #86ECD3 #D386EC
tetradic
#ECD386 #86ECA0 #869FEC #EC86D2
square
#ECD386 #86ECA0 #869FEC #EC86D2
split-complementary
#ECD386 #86D2EC #A086EC
monochromatic
#D6AA22 #E4C051 #ECD386 #F4E6BB #FBF5E5

Accessibility & contrast

On white

1.48
#ECD386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#ECD386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD386
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD386#FFFFFF#000000##000000
##ECD3861.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D080
Deuteranopia (green-blind)
#E9D889
Tritanopia (blue-blind)
#FBC8C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd386;
/* rgb */ color: rgb(236, 211, 134);
/* oklch */ color: oklch(87.1% 0.100 92.1);
Tailwind
colors: {
  custom: {
    50: '#f4e0aa',
    500: '#ecd386',
    950: '#000000',
  },
}
SCSS
$custom: #ecd386;
$custom-light: #f4e0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd386",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 134
  },
  "hsl": {
    "h": 45.294,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.87082,
    "c": 0.10042,
    "h": 92.1
  },
  "luminance": 0.66143
}

Semantic roles & 50–950 ramp

primary
#ECD386
secondary
#506DC6
accent
#41D511
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD386

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

Preview Lab → · Contrast checker → · Palette generator →

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