#ECD581#ECD581

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

Color values

HEX#ECD581
RGBrgb(236, 213, 129)
HSLhsl(47, 74%, 72%)
HSVhsv(47, 45%, 93%)
CMYKcmyk(0%, 9.7%, 45.3%, 7.5%)
CIE-LABlab(85.51, -3.09, 44.28)
CIE-LCHlch(85.51, 44.38, 93.99°)
OKLaboklab(87.41% -0.0085 0.107)
OKLCHoklch(87.41% 0.107 94.6)
XYZxyz(62.3505, 67.0087, 30.4143)
Luminance0.6701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD581 #8198EC
analogous
#ECA081 #ECD581 #CEEC81
triadic
#ECD581 #81ECD5 #D581EC
tetradic
#ECD581 #81ECA0 #8198EC #EC81CE
square
#ECD581 #81ECA0 #8198EC #EC81CE
split-complementary
#ECD581 #81CEEC #A081EC
monochromatic
#D3AC20 #E4C34C #ECD581 #F4E7B6 #FBF6E4

Accessibility & contrast

On white

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

On black

14.40
#ECD581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD581
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD581#FFFFFF#000000##000000
##ECD5811.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd581;
/* rgb */ color: rgb(236, 213, 129);
/* oklch */ color: oklch(87.4% 0.107 94.6);
Tailwind
colors: {
  custom: {
    50: '#f4e1a7',
    500: '#ecd581',
    950: '#000000',
  },
}
SCSS
$custom: #ecd581;
$custom-light: #f4e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd581",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 47.103,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87405,
    "c": 0.10729,
    "h": 94.6
  },
  "luminance": 0.67006
}

Semantic roles & 50–950 ramp

primary
#ECD581
secondary
#4B66C6
accent
#3AD610
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD581

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

Preview Lab → · Contrast checker → · Palette generator →

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