#ECD489#ECD489

#ECD489 is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.098 H 92.3°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#ECD489
RGBrgb(236, 212, 137)
HSLhsl(45, 72%, 73%)
HSVhsv(45, 42%, 93%)
CMYKcmyk(0%, 10.2%, 41.9%, 7.5%)
CIE-LABlab(85.37, -1.78, 40.10)
CIE-LCHlch(85.37, 40.14, 92.54°)
OKLaboklab(87.33% -0.004 0.0979)
OKLCHoklch(87.33% 0.098 92.3)
XYZxyz(62.6525, 66.7283, 33.2417)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD489 #89A1EC
analogous
#ECA289 #ECD489 #D2EC89
triadic
#ECD489 #89ECD4 #D489EC
tetradic
#ECD489 #89ECA2 #89A1EC #EC89D2
square
#ECD489 #89ECA2 #89A1EC #EC89D2
split-complementary
#ECD489 #89D2EC #A289EC
monochromatic
#D8AC23 #E4C154 #ECD489 #F4E7BE #FBF5E5

Accessibility & contrast

On white

1.46
#ECD489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#ECD489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD489
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD489#FFFFFF#000000##000000
##ECD4891.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D183
Deuteranopia (green-blind)
#E9D88C
Tritanopia (blue-blind)
#FAC9C1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd489;
/* rgb */ color: rgb(236, 212, 137);
/* oklch */ color: oklch(87.3% 0.098 92.3);
Tailwind
colors: {
  custom: {
    50: '#f4e1ac',
    500: '#ecd489',
    950: '#000000',
  },
}
SCSS
$custom: #ecd489;
$custom-light: #f4e1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd489",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 137
  },
  "hsl": {
    "h": 45.455,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8733,
    "c": 0.09801,
    "h": 92.3
  },
  "luminance": 0.66726
}

Semantic roles & 50–950 ramp

primary
#ECD489
secondary
#536FC6
accent
#40D411
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD489

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

Preview Lab → · Contrast checker → · Palette generator →

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