#ECDB87#ECDB87

#ECDB87 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.7% C 0.106 H 98.2°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#ECDB87
RGBrgb(236, 219, 135)
HSLhsl(50, 73%, 73%)
HSVhsv(50, 43%, 93%)
CMYKcmyk(0%, 7.2%, 42.8%, 7.5%)
CIE-LABlab(87.12, -5.55, 43.33)
CIE-LCHlch(87.12, 43.68, 97.30°)
OKLaboklab(88.71% -0.0151 0.1052)
OKLCHoklch(88.71% 0.106 98.2)
XYZxyz(64.2983, 70.2473, 33.0891)
Luminance0.7025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB87 #8798EC
analogous
#ECA887 #ECDB87 #CAEC87
triadic
#ECDB87 #87ECDB #DB87EC
tetradic
#ECDB87 #87ECA8 #8798EC #EC87CA
square
#ECDB87 #87ECA8 #8798EC #EC87CA
split-complementary
#ECDB87 #87CAEC #A887EC
monochromatic
#D7B822 #E4CB52 #ECDB87 #F4EBBC #FBF7E5

Accessibility & contrast

On white

1.40
#ECDB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#ECDB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB87
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB87#FFFFFF#000000##000000
##ECDB871.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD780
Deuteranopia (green-blind)
#EFDD8A
Tritanopia (blue-blind)
#FAD0C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecdb87;
/* rgb */ color: rgb(236, 219, 135);
/* oklch */ color: oklch(88.7% 0.106 98.2);
Tailwind
colors: {
  custom: {
    50: '#f4e6ab',
    500: '#ecdb87',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb87;
$custom-light: #f4e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb87",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 135
  },
  "hsl": {
    "h": 49.901,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.88705,
    "c": 0.10624,
    "h": 98.2
  },
  "luminance": 0.70245
}

Semantic roles & 50–950 ramp

primary
#ECDB87
secondary
#5165C6
accent
#32D511
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECDB87

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

Preview Lab → · Contrast checker → · Palette generator →

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