#ECD89C#ECD89C

#ECD89C is a very light, moderate yellow. Relative luminance 0.693; OKLCH L 88.5% C 0.080 H 91.8°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#ECD89C
RGBrgb(236, 216, 156)
HSLhsl(45, 68%, 77%)
HSVhsv(45, 34%, 93%)
CMYKcmyk(0%, 8.5%, 33.9%, 7.5%)
CIE-LABlab(86.68, -1.71, 32.14)
CIE-LCHlch(86.68, 32.18, 93.05°)
OKLaboklab(88.46% -0.0025 0.0801)
OKLCHoklch(88.46% 0.08 91.8)
XYZxyz(65.1497, 69.3469, 41.3995)
Luminance0.6935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD89C #9CB0EC
analogous
#ECB09C #ECD89C #D8EC9C
triadic
#ECD89C #9CECD8 #D89CEC
tetradic
#ECD89C #9CECB0 #9CB0EC #EC9CD8
square
#ECD89C #9CECB0 #9CB0EC #EC9CD8
split-complementary
#ECD89C #9CD8EC #B09CEC
monochromatic
#D8B035 #E2C469 #ECD89C #F6ECCF #FAF5E5

Accessibility & contrast

On white

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

On black

14.87
#ECD89C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD89C
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD89C#FFFFFF#000000##000000
##ECD89C1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd89c;
/* rgb */ color: rgb(236, 216, 156);
/* oklch */ color: oklch(88.5% 0.080 91.8);
Tailwind
colors: {
  custom: {
    50: '#f3e3b9',
    500: '#ecd89c',
    950: '#000000',
  },
}
SCSS
$custom: #ecd89c;
$custom-light: #f3e3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd89c",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 156
  },
  "hsl": {
    "h": 45,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.88459,
    "c": 0.08018,
    "h": 91.8
  },
  "luminance": 0.69345
}

Semantic roles & 50–950 ramp

primary
#ECD89C
secondary
#647DC8
accent
#44D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD89C

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

Preview Lab → · Contrast checker → · Palette generator →

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