#ECD487#ECD487

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

Color values

HEX#ECD487
RGBrgb(236, 212, 135)
HSLhsl(46, 73%, 73%)
HSVhsv(46, 43%, 93%)
CMYKcmyk(0%, 10.2%, 42.8%, 7.5%)
CIE-LABlab(85.34, -1.98, 41.07)
CIE-LCHlch(85.34, 41.12, 92.76°)
OKLaboklab(87.3% -0.0048 0.1)
OKLCHoklch(87.3% 0.1 92.7)
XYZxyz(62.5104, 66.6715, 32.4931)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD487 #879FEC
analogous
#ECA287 #ECD487 #D1EC87
triadic
#ECD487 #87ECD4 #D487EC
tetradic
#ECD487 #87ECA2 #879FEC #EC87D1
square
#ECD487 #87ECA2 #879FEC #EC87D1
split-complementary
#ECD487 #87D1EC #A287EC
monochromatic
#D7AC22 #E4C152 #ECD487 #F4E7BC #FBF6E5

Accessibility & contrast

On white

1.47
#ECD487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#ECD487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD487
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD487#FFFFFF#000000##000000
##ECD4871.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd487;
/* rgb */ color: rgb(236, 212, 135);
/* oklch */ color: oklch(87.3% 0.100 92.7);
Tailwind
colors: {
  custom: {
    50: '#f4e1ab',
    500: '#ecd487',
    950: '#000000',
  },
}
SCSS
$custom: #ecd487;
$custom-light: #f4e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd487",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 45.743,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.87298,
    "c": 0.10015,
    "h": 92.7
  },
  "luminance": 0.66669
}

Semantic roles & 50–950 ramp

primary
#ECD487
secondary
#516DC6
accent
#3FD511
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD487

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

Preview Lab → · Contrast checker → · Palette generator →

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