#ECD582#ECD582

#ECD582 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.4% C 0.106 H 94.4°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#ECD582
RGBrgb(236, 213, 130)
HSLhsl(47, 74%, 72%)
HSVhsv(47, 45%, 93%)
CMYKcmyk(0%, 9.7%, 44.9%, 7.5%)
CIE-LABlab(85.52, -2.99, 43.80)
CIE-LCHlch(85.52, 43.90, 93.91°)
OKLaboklab(87.42% -0.0081 0.1059)
OKLCHoklch(87.42% 0.106 94.4)
XYZxyz(62.4173, 67.0354, 30.7661)
Luminance0.6703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD582 #8299EC
analogous
#ECA082 #ECD582 #CEEC82
triadic
#ECD582 #82ECD5 #D582EC
tetradic
#ECD582 #82ECA0 #8299EC #EC82CE
square
#ECD582 #82ECA0 #8299EC #EC82CE
split-complementary
#ECD582 #82CEEC #A082EC
monochromatic
#D3AD20 #E4C34D #ECD582 #F4E7B7 #FBF6E4

Accessibility & contrast

On white

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

On black

14.41
#ECD582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD582
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD582#FFFFFF#000000##000000
##ECD5821.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D27B
Deuteranopia (green-blind)
#EBD985
Tritanopia (blue-blind)
#FBC9C1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd582;
/* rgb */ color: rgb(236, 213, 130);
/* oklch */ color: oklch(87.4% 0.106 94.4);
Tailwind
colors: {
  custom: {
    50: '#f4e1a7',
    500: '#ecd582',
    950: '#000000',
  },
}
SCSS
$custom: #ecd582;
$custom-light: #f4e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd582",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 130
  },
  "hsl": {
    "h": 46.981,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.8742,
    "c": 0.10624,
    "h": 94.4
  },
  "luminance": 0.67033
}

Semantic roles & 50–950 ramp

primary
#ECD582
secondary
#4C67C6
accent
#3BD610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#171510
muted
#858480

Preview Lab

Preview with #ECD582

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

Preview Lab → · Contrast checker → · Palette generator →

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