#ECD89A#ECD89A

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

Color values

HEX#ECD89A
RGBrgb(236, 216, 154)
HSLhsl(45, 68%, 76%)
HSVhsv(45, 35%, 93%)
CMYKcmyk(0%, 8.5%, 34.7%, 7.5%)
CIE-LABlab(86.64, -1.95, 33.12)
CIE-LCHlch(86.64, 33.18, 93.37°)
OKLaboklab(88.42% -0.0033 0.0824)
OKLCHoklch(88.42% 0.082 92.3)
XYZxyz(64.9817, 69.2797, 40.5149)
Luminance0.6928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD89A #9AAEEC
analogous
#ECAF9A #ECD89A #D7EC9A
triadic
#ECD89A #9AECD8 #D89AEC
tetradic
#ECD89A #9AECAF #9AAEEC #EC9AD7
square
#ECD89A #9AECAF #9AAEEC #EC9AD7
split-complementary
#ECD89A #9AD7EC #AF9AEC
monochromatic
#D9B033 #E2C466 #ECD89A #F6ECCE #FAF5E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD89A#FFFFFF#000000##000000
##ECD89A1.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)
#E5D596
Deuteranopia (green-blind)
#EADC9C
Tritanopia (blue-blind)
#F8CFC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd89a;
/* rgb */ color: rgb(236, 216, 154);
/* oklch */ color: oklch(88.4% 0.082 92.3);
Tailwind
colors: {
  custom: {
    50: '#f3e3b8',
    500: '#ecd89a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd89a;
$custom-light: #f3e3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd89a",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 154
  },
  "hsl": {
    "h": 45.366,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.88422,
    "c": 0.08247,
    "h": 92.3
  },
  "luminance": 0.69278
}

Semantic roles & 50–950 ramp

primary
#ECD89A
secondary
#627BC8
accent
#43D015
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD89A

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

Preview Lab → · Contrast checker → · Palette generator →

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