#ECD387#ECD387

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

Color values

HEX#ECD387
RGBrgb(236, 211, 135)
HSLhsl(45, 73%, 73%)
HSVhsv(45, 43%, 93%)
CMYKcmyk(0%, 10.6%, 42.8%, 7.5%)
CIE-LABlab(85.08, -1.47, 40.75)
CIE-LCHlch(85.08, 40.77, 92.07°)
OKLaboklab(87.1% -0.0033 0.0993)
OKLCHoklch(87.1% 0.099 91.9)
XYZxyz(62.2612, 66.1731, 32.4100)
Luminance0.6617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD387 #87A0EC
analogous
#ECA187 #ECD387 #D2EC87
triadic
#ECD387 #87ECD3 #D387EC
tetradic
#ECD387 #87ECA1 #87A0EC #EC87D2
square
#ECD387 #87ECA1 #87A0EC #EC87D2
split-complementary
#ECD387 #87D2EC #A187EC
monochromatic
#D7AA22 #E4C052 #ECD387 #F4E6BC #FBF5E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD387#FFFFFF#000000##000000
##ECD3871.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)
#E2D081
Deuteranopia (green-blind)
#E9D88A
Tritanopia (blue-blind)
#FAC8C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd387;
/* rgb */ color: rgb(236, 211, 135);
/* oklch */ color: oklch(87.1% 0.099 91.9);
Tailwind
colors: {
  custom: {
    50: '#f4e0ab',
    500: '#ecd387',
    950: '#000000',
  },
}
SCSS
$custom: #ecd387;
$custom-light: #f4e0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd387",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 45.149,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87098,
    "c": 0.09935,
    "h": 91.9
  },
  "luminance": 0.66171
}

Semantic roles & 50–950 ramp

primary
#ECD387
secondary
#516EC6
accent
#41D511
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD387

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

Preview Lab → · Contrast checker → · Palette generator →

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