#ECD989#ECD989

#ECD989 is a very light, moderate yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.102 H 96.4°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#ECD989
RGBrgb(236, 217, 137)
HSLhsl(48, 72%, 73%)
HSVhsv(48, 42%, 93%)
CMYKcmyk(0%, 8.1%, 41.9%, 7.5%)
CIE-LABlab(86.64, -4.33, 41.72)
CIE-LCHlch(86.64, 41.94, 95.93°)
OKLaboklab(88.33% -0.0114 0.1016)
OKLCHoklch(88.33% 0.102 96.4)
XYZxyz(63.9218, 69.2669, 33.6648)
Luminance0.6926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD989 #899CEC
analogous
#ECA789 #ECD989 #CDEC89
triadic
#ECD989 #89ECD9 #D989EC
tetradic
#ECD989 #89ECA7 #899CEC #EC89CD
square
#ECD989 #89ECA7 #899CEC #EC89CD
split-complementary
#ECD989 #89CDEC #A789EC
monochromatic
#D8B523 #E4C854 #ECD989 #F4EABE #FBF7E5

Accessibility & contrast

On white

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

On black

14.85
#ECD989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD989
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD989#FFFFFF#000000##000000
##ECD9891.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D583
Deuteranopia (green-blind)
#EDDC8C
Tritanopia (blue-blind)
#FACEC5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd989;
/* rgb */ color: rgb(236, 217, 137);
/* oklch */ color: oklch(88.3% 0.102 96.4);
Tailwind
colors: {
  custom: {
    50: '#f4e4ac',
    500: '#ecd989',
    950: '#000000',
  },
}
SCSS
$custom: #ecd989;
$custom-light: #f4e4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd989",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 137
  },
  "hsl": {
    "h": 48.485,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.88332,
    "c": 0.10226,
    "h": 96.4
  },
  "luminance": 0.69265
}

Semantic roles & 50–950 ramp

primary
#ECD989
secondary
#5369C6
accent
#37D411
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD989

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

Preview Lab → · Contrast checker → · Palette generator →

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