#ECD89B#ECD89B

#ECD89B is a very light, moderate yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.081 H 92.1°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#ECD89B
RGBrgb(236, 216, 155)
HSLhsl(45, 68%, 77%)
HSVhsv(45, 34%, 93%)
CMYKcmyk(0%, 8.5%, 34.3%, 7.5%)
CIE-LABlab(86.66, -1.83, 32.63)
CIE-LCHlch(86.66, 32.68, 93.21°)
OKLaboklab(88.44% -0.0029 0.0813)
OKLCHoklch(88.44% 0.081 92.1)
XYZxyz(65.0654, 69.3132, 40.9554)
Luminance0.6931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD89B #9BAFEC
analogous
#ECB09B #ECD89B #D8EC9B
triadic
#ECD89B #9BECD8 #D89BEC
tetradic
#ECD89B #9BECB0 #9BAFEC #EC9BD8
square
#ECD89B #9BECB0 #9BAFEC #EC9BD8
split-complementary
#ECD89B #9BD8EC #B09BEC
monochromatic
#D8B034 #E2C468 #ECD89B #F6ECCE #FAF5E5

Accessibility & contrast

On white

1.41
#ECD89B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#ECD89B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD89B
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD89B#FFFFFF#000000##000000
##ECD89B1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D597
Deuteranopia (green-blind)
#EADC9D
Tritanopia (blue-blind)
#F8CFC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd89b;
/* rgb */ color: rgb(236, 216, 155);
/* oklch */ color: oklch(88.4% 0.081 92.1);
Tailwind
colors: {
  custom: {
    50: '#f3e3b9',
    500: '#ecd89b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd89b;
$custom-light: #f3e3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd89b",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 155
  },
  "hsl": {
    "h": 45.185,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.88441,
    "c": 0.08132,
    "h": 92.1
  },
  "luminance": 0.69311
}

Semantic roles & 50–950 ramp

primary
#ECD89B
secondary
#637CC8
accent
#44D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD89B

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

Preview Lab → · Contrast checker → · Palette generator →

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