#ECD689#ECD689

#ECD689 is a very light, moderate yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.100 H 94.0°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#ECD689
RGBrgb(236, 214, 137)
HSLhsl(47, 72%, 73%)
HSVhsv(47, 42%, 93%)
CMYKcmyk(0%, 9.3%, 41.9%, 7.5%)
CIE-LABlab(85.87, -2.80, 40.75)
CIE-LCHlch(85.87, 40.84, 93.93°)
OKLaboklab(87.73% -0.007 0.0994)
OKLCHoklch(87.73% 0.1 94)
XYZxyz(63.1556, 67.7344, 33.4094)
Luminance0.6773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD689 #899FEC
analogous
#ECA489 #ECD689 #D0EC89
triadic
#ECD689 #89ECD6 #D689EC
tetradic
#ECD689 #89ECA4 #899FEC #EC89D0
square
#ECD689 #89ECA4 #899FEC #EC89D0
split-complementary
#ECD689 #89D0EC #A489EC
monochromatic
#D8B023 #E4C454 #ECD689 #F4E8BE #FBF6E5

Accessibility & contrast

On white

1.44
#ECD689 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#ECD689 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD689
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD689#FFFFFF#000000##000000
##ECD6891.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D383
Deuteranopia (green-blind)
#EBDA8C
Tritanopia (blue-blind)
#FACBC3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd689;
/* rgb */ color: rgb(236, 214, 137);
/* oklch */ color: oklch(87.7% 0.100 94.0);
Tailwind
colors: {
  custom: {
    50: '#f4e2ac',
    500: '#ecd689',
    950: '#000000',
  },
}
SCSS
$custom: #ecd689;
$custom-light: #f4e2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd689",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 137
  },
  "hsl": {
    "h": 46.667,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8773,
    "c": 0.09965,
    "h": 94
  },
  "luminance": 0.67732
}

Semantic roles & 50–950 ramp

primary
#ECD689
secondary
#536CC6
accent
#3DD411
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD689

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

Preview Lab → · Contrast checker → · Palette generator →

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