#ECD887#ECD887

#ECD887 is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.104 H 95.9°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#ECD887
RGBrgb(236, 216, 135)
HSLhsl(48, 73%, 73%)
HSVhsv(48, 43%, 93%)
CMYKcmyk(0%, 8.5%, 42.8%, 7.5%)
CIE-LABlab(86.35, -4.03, 42.36)
CIE-LCHlch(86.35, 42.55, 95.43°)
OKLaboklab(88.1% -0.0107 0.103)
OKLCHoklch(88.1% 0.104 95.9)
XYZxyz(63.5227, 68.6961, 32.8305)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD887 #879BEC
analogous
#ECA587 #ECD887 #CDEC87
triadic
#ECD887 #87ECD8 #D887EC
tetradic
#ECD887 #87ECA5 #879BEC #EC87CD
square
#ECD887 #87ECA5 #879BEC #EC87CD
split-complementary
#ECD887 #87CDEC #A587EC
monochromatic
#D7B322 #E4C752 #ECD887 #F4E9BC #FBF6E5

Accessibility & contrast

On white

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

On black

14.74
#ECD887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD887
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD887#FFFFFF#000000##000000
##ECD8871.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D481
Deuteranopia (green-blind)
#EDDB8A
Tritanopia (blue-blind)
#FACDC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd887;
/* rgb */ color: rgb(236, 216, 135);
/* oklch */ color: oklch(88.1% 0.104 95.9);
Tailwind
colors: {
  custom: {
    50: '#f4e3ab',
    500: '#ecd887',
    950: '#000000',
  },
}
SCSS
$custom: #ecd887;
$custom-light: #f4e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd887",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 135
  },
  "hsl": {
    "h": 48.119,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.881,
    "c": 0.10351,
    "h": 95.9
  },
  "luminance": 0.68694
}

Semantic roles & 50–950 ramp

primary
#ECD887
secondary
#5168C6
accent
#38D511
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD887

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

Preview Lab → · Contrast checker → · Palette generator →

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